Add Dockerfile
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m17s

This commit is contained in:
Evrard Van Espen
2025-11-20 13:22:03 +00:00
parent 669b1ca240
commit 9283322dbb

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM archlinux as builder
RUN pacman -Syy \
&& pacman -S --noconfirm go dart-sass icu
COPY . /app
WORKDIR /app
RUN go run .
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/
COPY --from=builder /app/build/ /usr/share/nginx/html/
EXPOSE 80