diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..08141cf --- /dev/null +++ b/Dockerfile @@ -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