fix deployment
This commit is contained in:
@@ -8,8 +8,9 @@ RUN go build -o /bin/api ./main.go
|
|||||||
|
|
||||||
FROM debian:stable-slim@sha256:57bd74e95092e6d4c0cdb6e36ca3db5bb828c2f592788734d1a707a4b92e7755
|
FROM debian:stable-slim@sha256:57bd74e95092e6d4c0cdb6e36ca3db5bb828c2f592788734d1a707a4b92e7755
|
||||||
|
|
||||||
COPY --from=builder /bin/api /app/api
|
WORKDIR /app
|
||||||
COPY migrations /migrations
|
COPY --from=builder /bin/api ./api
|
||||||
|
COPY migrations ./migrations
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT ["/app/api"]
|
ENTRYPOINT ["/app/api"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user