Artin2009 commited on
Commit
12c2c07
1 Parent(s): fd1d1a5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -5
Dockerfile CHANGED
@@ -7,11 +7,14 @@ RUN apt-get update && \
7
  wget curl procps \
8
  htop vim nano && \
9
  rm -rf /var/lib/apt/lists/*
10
- RUN useradd -m -u 1000 user
11
- USER user
12
- ENV HOME=/home/user \
13
- PATH=/home/user/.local/bin:$PATH
14
- WORKDIR $HOME/app
 
 
 
15
  RUN chown 1000 $HOME/app
16
  USER 1000
17
  COPY --chown=user . $HOME/app
 
7
  wget curl procps \
8
  htop vim nano && \
9
  rm -rf /var/lib/apt/lists/*
10
+ # RUN useradd -m -u 1000 user
11
+ # USER user
12
+ # ENV HOME=/home/user \
13
+ # PATH=/home/user/.local/bin:$PATH
14
+
15
+ WORKDIR /app
16
+ COPY --link ./ /app
17
+ RUN npm i
18
  RUN chown 1000 $HOME/app
19
  USER 1000
20
  COPY --chown=user . $HOME/app