minor fixes

This commit is contained in:
yuli
2022-09-23 14:08:30 +03:00
parent 5af370f898
commit bfe14e244d

View File

@@ -33,7 +33,7 @@ RUN /bin/busybox mkdir -p /databunker/data && \
addgroup -S appgroup && adduser --no-create-home -S appuser -G appgroup && \
chown appuser:appgroup /databunker/data
USER appuser
COPY --from=builder /go/bin/databunker $GOPATH/src/securitybunker/databunker/{run.sh,health-check.sh} /databunker/bin/
COPY --from=builder /go/bin/databunker /go/src/securitybunker/databunker/run.sh /go/src/securitybunker/databunker/health-check.sh /databunker/bin/
EXPOSE 3000
HEALTHCHECK --interval=5s --timeout=3s --start-period=33s --retries=3 CMD /databunker/bin/health-check.sh
ENTRYPOINT ["/bin/sh", "/databunker/bin/run.sh"]