fix dockerfile (#228)

This commit is contained in:
auctumnus 2022-01-29 19:05:57 -08:00 committed by GitHub
parent ef09762fdc
commit eca47a21cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,13 +54,13 @@ COPY . .
RUN rm .env RUN rm .env
RUN npm run build RUN npm run build
mkdir /home/esmBot/help RUN mkdir /home/esmBot/help
chown esmBot:esmBot /home/esmBot/help RUN chown esmBot:esmBot /home/esmBot/help
chmod 644 /home/esmBot/help RUN chmod 644 /home/esmBot/help
mkdir /home/esmBot/temp RUN mkdir /home/esmBot/temp
chown esmBot:esmBot /home/esmBot/temp RUN chown esmBot:esmBot /home/esmBot/temp
chmod 644 /home/esmBot/temp RUN chmod 644 /home/esmBot/temp
USER esmBot USER esmBot