mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Docker: combine entrypoints
This commit is contained in:
@@ -6,9 +6,6 @@ ARG APP_HOME=/home/node/app
|
|||||||
# Install system dependencies
|
# Install system dependencies
|
||||||
RUN apk add gcompat tini git
|
RUN apk add gcompat tini git
|
||||||
|
|
||||||
# Ensure proper handling of kernel signals
|
|
||||||
ENTRYPOINT [ "tini", "--" ]
|
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
WORKDIR ${APP_HOME}
|
WORKDIR ${APP_HOME}
|
||||||
|
|
||||||
@@ -42,4 +39,5 @@ RUN \
|
|||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
ENTRYPOINT [ "./docker-entrypoint.sh" ]
|
# Ensure proper handling of kernel signals
|
||||||
|
ENTRYPOINT ["tini", "--", "./docker-entrypoint.sh"]
|
||||||
|
Reference in New Issue
Block a user