Fix Docker by copying post-install.js into image

This commit is contained in:
duncannah
2023-09-15 20:44:48 +02:00
committed by GitHub
parent d34f7d3e1a
commit 1edc2b08f2

View File

@@ -13,7 +13,7 @@ ENTRYPOINT [ "tini", "--" ]
WORKDIR ${APP_HOME} WORKDIR ${APP_HOME}
# Install app dependencies # Install app dependencies
COPY package*.json ./ COPY package*.json post-install.js ./
RUN \ RUN \
echo "*** Install npm packages ***" && \ echo "*** Install npm packages ***" && \
npm install && npm cache clean --force npm install && npm cache clean --force