add views to Dockerfile

This commit is contained in:
Adora Laura Kalb 2023-04-27 12:35:26 +02:00
parent c21c759322
commit 24631a5b6a
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

View file

@ -23,6 +23,7 @@ FROM scratch AS prod
WORKDIR /var/app WORKDIR /var/app
COPY --from=build /var/app/go-urlsh /var/app/ COPY --from=build /var/app/go-urlsh /var/app/
COPY --from=build /var/app/web /var/app/web COPY --from=build /var/app/web /var/app/web
COPY --from=build /var/app/views /var/app/views
EXPOSE 80 EXPOSE 80
ENTRYPOINT ["/var/app/go-urlsh"] ENTRYPOINT ["/var/app/go-urlsh"]