Docker: combine entrypoints

This commit is contained in:
Cohee
2024-12-11 21:38:39 +02:00
parent 5f8989437e
commit 9e8277882c

View File

@@ -6,9 +6,6 @@ ARG APP_HOME=/home/node/app
# Install system dependencies
RUN apk add gcompat tini git
# Ensure proper handling of kernel signals
ENTRYPOINT [ "tini", "--" ]
# Create app directory
WORKDIR ${APP_HOME}
@@ -42,4 +39,5 @@ RUN \
EXPOSE 8000
ENTRYPOINT [ "./docker-entrypoint.sh" ]
# Ensure proper handling of kernel signals
ENTRYPOINT ["tini", "--", "./docker-entrypoint.sh"]