Create help/temp directories in dockerfile

This commit is contained in:
Essem 2022-01-29 15:20:42 -06:00
parent 5da6207f8a
commit 72c3d670d3
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -54,6 +54,14 @@ COPY . .
RUN rm .env RUN rm .env
RUN npm run build RUN npm run build
mkdir /home/esmBot/help
chown esmBot:esmBot /home/esmBot/help
chmod 644 /home/esmBot/help
mkdir /home/esmBot/temp
chown esmBot:esmBot /home/esmBot/temp
chmod 644 /home/esmBot/temp
USER esmBot USER esmBot
ENTRYPOINT ["node", "app.js"] ENTRYPOINT ["node", "app.js"]