fix: add entrypoint.sh

This commit is contained in:
Georg K
2022-03-03 23:01:25 +03:00
parent 513e50f7f5
commit 9de64c0d8d
3 changed files with 9 additions and 1 deletions

View File

@@ -12,4 +12,7 @@ ENV GONOSUMDB=gitlab.connectone.pro/*
WORKDIR /opt/app
RUN apk add --no-cache tzdata ca-certificates git openssh
COPY --from=build /build/gomodproxy ./
ADD entrypoint.sh .
RUN chmod a+x *.sh
ENTRYPOINT ["/opt/app/entrypoint.sh"]
CMD ["/opt/app/gomodproxy", "--addr", ":8080"]