Mediocreatmybest commited on
Commit
815ea35
1 Parent(s): c0d5d11

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -34,7 +34,8 @@ WORKDIR /opt/node_app/excalidraw
34
  # Run yarn to install deps
35
  #RUN yarn
36
 
37
- RUN yarn --ignore-optional --network-timeout 600000
 
38
 
39
  # Set prod build
40
 
@@ -67,8 +68,7 @@ ARG NODE_ENV=production
67
  #RUN cat /var/www/html/index.html
68
 
69
  # Make port 3000 available outside the container
70
- EXPOSE 3000
71
-
72
 
73
  # Start the development server
74
  #CMD ["python3", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "3000"]
 
34
  # Run yarn to install deps
35
  #RUN yarn
36
 
37
+ RUN yarn --ignore-optional --network-timeout 600000 && \
38
+ chmod 777 -R /opt/node_app/
39
 
40
  # Set prod build
41
 
 
68
  #RUN cat /var/www/html/index.html
69
 
70
  # Make port 3000 available outside the container
71
+ EXPOSE 5001
 
72
 
73
  # Start the development server
74
  #CMD ["python3", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "3000"]