Fixed dockerfile

This commit is contained in:
Borna Rajković 2023-07-11 21:52:56 +02:00
parent 3f25857fca
commit c33a883c34
1 changed files with 1 additions and 0 deletions

View File

@ -16,4 +16,5 @@ RUN go build -tags timetzdata holiday-api
FROM scratch FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=go-build /root/holiday-api /usr/bin/holiday-api COPY --from=go-build /root/holiday-api /usr/bin/holiday-api
ADD templates templates/
ENTRYPOINT ["holiday-api"] ENTRYPOINT ["holiday-api"]