Mediocreatmybest commited on
Commit
c0d5d11
·
1 Parent(s): ee3fc7c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -7
Dockerfile CHANGED
@@ -5,11 +5,11 @@ WORKDIR /opt/node_app
5
 
6
 
7
  # Get apt up and running
8
- RUN apt update
9
- RUN apt install python3-pip python3-uvicorn python3-fastapi -y
10
  #RUN apt install git yarn -y
11
  #RUN npm install --global yarn
12
- RUN apt install nginx -y
13
 
14
 
15
  #RUN npm install react react-dom @excalidraw/excalidraw vscode-languageclient -g
@@ -26,8 +26,6 @@ WORKDIR /opt/node_app/excalidraw
26
  #RUN echo -e "\n\nBROWSER=NONE" >> .env.development
27
  #RUN echo -e "\n\nBROWSER=NONE" >> .env.development
28
 
29
-
30
-
31
  # Setup npm / yarn / deps
32
  #RUN npm install react react-dom
33
  #RUN npm install workbox-build workbox-window eslint
@@ -77,7 +75,7 @@ EXPOSE 3000
77
  #CMD ["python3", "app.py"]
78
  #CMD ["nginx", "-g", "daemon off;"]
79
  #CMD ["python3", "-m", "http.server", "3000"]
80
- COPY start.sh .
81
- RUN chmod +x start.sh
82
  #CMD ["start.sh"]
83
  CMD ["yarn", "start:production"]
 
5
 
6
 
7
  # Get apt up and running
8
+ #RUN apt update
9
+ #RUN apt install python3-pip python3-uvicorn python3-fastapi -y
10
  #RUN apt install git yarn -y
11
  #RUN npm install --global yarn
12
+ #RUN apt install nginx -y
13
 
14
 
15
  #RUN npm install react react-dom @excalidraw/excalidraw vscode-languageclient -g
 
26
  #RUN echo -e "\n\nBROWSER=NONE" >> .env.development
27
  #RUN echo -e "\n\nBROWSER=NONE" >> .env.development
28
 
 
 
29
  # Setup npm / yarn / deps
30
  #RUN npm install react react-dom
31
  #RUN npm install workbox-build workbox-window eslint
 
75
  #CMD ["python3", "app.py"]
76
  #CMD ["nginx", "-g", "daemon off;"]
77
  #CMD ["python3", "-m", "http.server", "3000"]
78
+ #COPY start.sh .
79
+ #RUN chmod +x start.sh
80
  #CMD ["start.sh"]
81
  CMD ["yarn", "start:production"]