sbrandeis HF staff commited on
Commit
c562d26
·
verified ·
1 Parent(s): 0ce3374

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -8,10 +8,10 @@ RUN apt-get update && \
8
  htop vim nano && \
9
  rm -rf /var/lib/apt/lists/*
10
 
11
- RUN useradd -m -u 1000 user
12
 
13
  WORKDIR /app
14
  COPY --link --chown=1000 ./ /app
15
  RUN npm ci
16
 
 
17
  CMD ["node", "index.js"]
 
8
  htop vim nano && \
9
  rm -rf /var/lib/apt/lists/*
10
 
 
11
 
12
  WORKDIR /app
13
  COPY --link --chown=1000 ./ /app
14
  RUN npm ci
15
 
16
+ USER 1000
17
  CMD ["node", "index.js"]