Create help/temp directories in dockerfile
This commit is contained in:
parent
5da6207f8a
commit
72c3d670d3
1 changed files with 8 additions and 0 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue