Funky config stuff gives me a headache

This commit is contained in:
2021-04-03 03:26:36 +11:00
parent 7ebced9304
commit 4ff507b0fa
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -113,10 +113,11 @@ FROM node:15
WORKDIR "/app"
COPY package*.json ./
COPY . /app
RUN npm install --production
EXPOSE ${appPort}
USER node
ENTRYPOINT ["bash", "-c"]
CMD ["npm install --production && sleep 10 && npm start"]
CMD ["sleep 10 && npm start"]
`;
const sqlfile = `