feat: add bindable working dir /usr/bin/app

working directory can now be bound to user host machine
This commit is contained in:
2025-02-23 06:03:13 -07:00
parent 71027041c8
commit 6228c9ec08
5 changed files with 19 additions and 9 deletions

View File

@@ -56,6 +56,7 @@ ENV WEB_IP="0.0.0.0"
ENV WEB_PORT=4124
ENV NODE_VERSION=18.20.5
ENV YARN_VERSION=1.22.22
ENV WORKING_DIR=/usr/bin/app
# #
# Install
@@ -94,10 +95,10 @@ WORKDIR /usr/src/app
COPY tvapp2/ ./
# #
# install node (production)
# set work dir to built app
# #
RUN npm install --only=production
WORKDIR ${WORKING_DIR}
# #
# Ports and volumes