Initial commit

This commit is contained in:
2022-04-27 20:48:21 -04:00
commit edaa99a45f
28 changed files with 21629 additions and 0 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM node:alpine AS frontend-builder
RUN cd frontend && npm install && npm run build
FROM golang:alpine AS builder
COPY --from=frontend-builder frontend/dist frontend/dist
RUN go build -o minify
FROM alpine
COPY --from=builder minify /usr/bin/minify
CMD ["/usr/bin/minify"]