This commit is contained in:
I_AM_TINE
2023-01-25 11:07:32 +07:00
commit ddb9307704
7 changed files with 56 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM golang:alpine as builder
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
FROM alpine
WORKDIR /app
COPY ./static ./static
COPY --from=builder /app/serviceapifrontend .
EXPOSE 4000
ENTRYPOINT [ "/app/serviceapifrontend" ]