update docker file to load .env
This commit is contained in:
parent
0f14fa8faf
commit
4b26d6f0a5
@ -8,4 +8,5 @@ RUN go build -buildvcs=false -v -o /usr/local/bin/ ./...
|
||||
FROM golang:1.18.3
|
||||
WORKDIR /usr/local/bin
|
||||
COPY --from=builder /usr/local/bin/backend .
|
||||
COPY .env /usr/local/bin
|
||||
CMD ["backend", "migrate", "serve"]
|
||||
|
Loading…
Reference in New Issue
Block a user