This commit is contained in:
@@ -21,8 +21,8 @@ ARG CONFIG_FILE_PATH
|
||||
|
||||
RUN apk add --no-cache ca-certificates tzdata
|
||||
|
||||
COPY --from=certs /YandexInternalRootCA.crt /root/.redis/YandexInternalRootCA.crt
|
||||
COPY --from=certs /YandexInternalRootCA.crt /root/.postgres/YandexInternalRootCA.crt
|
||||
COPY --from=certs /YandexInternalRootCA.crt /etc/.redis/YandexInternalRootCA.crt
|
||||
COPY --from=certs /YandexInternalRootCA.crt /etc/.postgres/YandexInternalRootCA.crt
|
||||
COPY ${CONFIG_FILE_PATH} /config.yaml
|
||||
|
||||
COPY --from=builder /app/main /main
|
||||
@@ -30,5 +30,5 @@ COPY --from=builder /app/main /main
|
||||
RUN adduser -D -u 10001 appuser && chown appuser /main
|
||||
USER appuser
|
||||
|
||||
ENTRYPOINT ["sudo /main"]
|
||||
ENTRYPOINT ["/main"]
|
||||
CMD ["--config_path", "/config.yaml"]
|
Reference in New Issue
Block a user