Update Dockerfile

This commit is contained in:
Alexandre
2023-05-30 10:07:16 +02:00
committed by GitHub
parent e7a68762c4
commit 632a1e244d

View File

@@ -29,7 +29,8 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
RUN \ RUN \
# Change data folder # Change data folder
sed -i "s|/fgc|/data|g" /usr/local/bin/docker-entrypoint.sh sed -i "s|/fgc|/data|g" /usr/local/bin/docker-entrypoint.sh && \
sed -i "1a /./entrypoint.sh" /usr/local/bin/docker-entrypoint.sh
# Define subreaper # Define subreaper
ENV TINI_SUBREAPER=true ENV TINI_SUBREAPER=true
@@ -73,11 +74,11 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
# 4 Entrypoint # # 4 Entrypoint #
################ ################
RUN chmod 777 /entrypoint.sh #RUN chmod 777 /entrypoint.sh
WORKDIR /data WORKDIR /data
ENTRYPOINT [ "/usr/bin/env" ] #ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/entrypoint.sh" ] #CMD [ "/entrypoint.sh" ]
SHELL ["/bin/bash", "-o", "pipefail", "-c"] #SHELL ["/bin/bash", "-o", "pipefail", "-c"]
############ ############
# 5 Labels # # 5 Labels #