Spaces:
Build error
Build error
Commit
·
b0066c9
1
Parent(s):
ea300df
chore: commented out user permissions config
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -49,15 +49,15 @@ COPY entrypoint.sh.template entrypoint.sh
|
|
| 49 |
RUN mkdir /app
|
| 50 |
RUN chown -R 1000:1000 /app
|
| 51 |
|
| 52 |
-
RUN useradd -m -u 1000 user
|
| 53 |
|
| 54 |
# Switch to the "user" user
|
| 55 |
-
USER user
|
| 56 |
|
| 57 |
-
ENV HOME=/home/user \
|
| 58 |
-
PATH=/home/user/.local/bin:$PATH
|
| 59 |
|
| 60 |
-
RUN npm config set prefix /home/user/.local
|
| 61 |
RUN npm install -g pm2
|
| 62 |
|
| 63 |
COPY --from=chatui-builder --chown=1000 /app/chat-ui/node_modules /app/node_modules
|
|
|
|
| 49 |
RUN mkdir /app
|
| 50 |
RUN chown -R 1000:1000 /app
|
| 51 |
|
| 52 |
+
#RUN useradd -m -u 1000 user
|
| 53 |
|
| 54 |
# Switch to the "user" user
|
| 55 |
+
#USER user
|
| 56 |
|
| 57 |
+
#ENV HOME=/home/user \
|
| 58 |
+
# PATH=/home/user/.local/bin:$PATH
|
| 59 |
|
| 60 |
+
#RUN npm config set prefix /home/user/.local
|
| 61 |
RUN npm install -g pm2
|
| 62 |
|
| 63 |
COPY --from=chatui-builder --chown=1000 /app/chat-ui/node_modules /app/node_modules
|