Bind external configuration

This commit is contained in:
Mario
2022-06-02 12:17:18 +02:00
parent 24b85bb28b
commit e980c7509a
4 changed files with 3 additions and 5 deletions

View File

@ -16,7 +16,6 @@ RUN go mod download
# Copy the code into the container
COPY . .
COPY ./configurations /dist/configurations
# Build the application
RUN go build -o main .
@ -31,6 +30,5 @@ RUN cp /build/main .
FROM scratch
COPY --from=builder /dist/main /
COPY --from=builder /dist/configurations /configurations
ENTRYPOINT ["/main"]