Funky config stuff gives me a headache

This commit is contained in:
2021-04-03 03:26:59 +11:00
parent 928c76fc84
commit b503df3399
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -112,10 +112,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 = `