Include template in Dockerfile
This commit is contained in:
parent
98adb226d7
commit
bc02653473
@ -8,8 +8,9 @@ RUN CGO_ENABLED=0 go build -o dogtamer cmd/dogtamer.go
|
|||||||
|
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
WORKDIR /app
|
|
||||||
COPY --from=builder /app/dogtamer /app/dogtamer
|
COPY --from=builder /app/dogtamer /app/dogtamer
|
||||||
|
COPY --from=builder /app/server/templates /app/server/templates
|
||||||
|
WORKDIR /app
|
||||||
EXPOSE 5566
|
EXPOSE 5566
|
||||||
EXPOSE 8077
|
EXPOSE 8077
|
||||||
CMD ["/app/dogtamer", "serve"]
|
CMD ["/app/dogtamer", "serve"]
|
Loading…
Reference in New Issue
Block a user