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
1 changed files with 8 additions and 0 deletions

View File

@ -54,6 +54,14 @@ COPY . .
RUN rm .env
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
ENTRYPOINT ["node", "app.js"]