Mediocreatmybest commited on
Commit
3e875e8
1 Parent(s): 0165dac

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -20
Dockerfile CHANGED
@@ -1,27 +1,11 @@
1
  FROM node:18
2
- # Set default user
3
- RUN useradd -m -u 1000 user
 
 
4
  USER 1000
5
 
6
 
7
- # Default working dir
8
- #WORKDIR /opt/node_app
9
-
10
-
11
- # Get apt up and running
12
- #RUN apt update
13
- #RUN apt install python3-pip python3-uvicorn python3-fastapi -y
14
- #RUN apt install git yarn -y
15
- #RUN npm install --global yarn
16
- #RUN apt install nginx -y
17
-
18
-
19
- #RUN npm install react react-dom @excalidraw/excalidraw vscode-languageclient -g
20
-
21
- # Create a React
22
- #RUN npx create-react-app my-excalidraw-app
23
-
24
- WORKDIR /opt/node_app
25
  RUN git clone https://github.com/excalidraw/excalidraw
26
  RUN git clone https://github.com/excalidraw/excalidraw-room
27
  # Change to the newly created directory
 
1
  FROM node:18
2
+ # Set default user and working dir
3
+ #RUN useradd -m -u 1000 user
4
+ WORKDIR /opt/node_app
5
+ RUN chown 1000:1000 /opt/
6
  USER 1000
7
 
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  RUN git clone https://github.com/excalidraw/excalidraw
10
  RUN git clone https://github.com/excalidraw/excalidraw-room
11
  # Change to the newly created directory