fix base image
This commit is contained in:
@@ -6,10 +6,9 @@ COPY src src
|
|||||||
RUN go build -o /bin/api ./main.go
|
RUN go build -o /bin/api ./main.go
|
||||||
|
|
||||||
|
|
||||||
FROM debian:stable
|
FROM debian:stable-slim
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y ca-certificates
|
RUN apt-get update && apt-get install -y ca-certificates
|
||||||
RUN update-ca-certificates
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /bin/api ./api
|
COPY --from=builder /bin/api ./api
|
||||||
COPY migrations ./migrations
|
COPY migrations ./migrations
|
||||||
|
|||||||
Reference in New Issue
Block a user