OlivierDehaene commited on
Commit
c5a5fad
1 Parent(s): cf57f21

update chown

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -47,10 +47,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
47
 
48
  RUN npm install -g pm2
49
  RUN mkdir /app
 
50
 
51
- COPY --from=chatui-builder /app/chat-ui/node_modules /app/node_modules
52
- COPY --from=chatui-builder /app/chat-ui/package.json /app/package.json
53
- COPY --from=chatui-builder /app/chat-ui/build /app/build
54
 
55
  COPY entrypoint.sh entrypoint.sh
56
  RUN chmod +x entrypoint.sh
 
47
 
48
  RUN npm install -g pm2
49
  RUN mkdir /app
50
+ RUN chmod 777 /app
51
 
52
+ COPY --from=chatui-builder --chown=1000 /app/chat-ui/node_modules /app/node_modules
53
+ COPY --from=chatui-builder --chown=1000 /app/chat-ui/package.json /app/package.json
54
+ COPY --from=chatui-builder --chown=1000 /app/chat-ui/build /app/build
55
 
56
  COPY entrypoint.sh entrypoint.sh
57
  RUN chmod +x entrypoint.sh