sbrandeis HF staff commited on
Commit
8f4faec
1 Parent(s): d963cbf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -135,11 +135,13 @@ RUN apt-get update && \
135
  htop vim nano && \
136
  rm -rf /var/lib/apt/lists/*
137
 
138
- RUN useradd -m -u 1000 user
139
 
140
  WORKDIR /app
141
  COPY --link --chown=1000 ./ /app
142
- RUN npm ci
143
 
144
- CMD ["node", "index.mjs"]
 
145
  ```
 
 
 
135
  htop vim nano && \
136
  rm -rf /var/lib/apt/lists/*
137
 
 
138
 
139
  WORKDIR /app
140
  COPY --link --chown=1000 ./ /app
141
+ RUN npm i
142
 
143
+ USER 1000
144
+ CMD ["node", "index.js"]
145
  ```
146
+
147
+