Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +0 -4
Dockerfile
CHANGED
@@ -25,7 +25,6 @@ RUN mkdir -p \
|
|
25 |
/app/api/logs \
|
26 |
/app/data \
|
27 |
/app/caddy && \
|
28 |
-
chown -R 1000:1000 /app && \
|
29 |
chmod -R 777 \
|
30 |
/app/uploads/temp \
|
31 |
/app/client/public/images \
|
@@ -51,9 +50,6 @@ ENV HOST=0.0.0.0 \
|
|
51 |
# Install additional dependencies
|
52 |
RUN cd /app/api && npm install
|
53 |
|
54 |
-
# Switch to non-root user
|
55 |
-
USER 1000
|
56 |
-
|
57 |
# Expose the correct port for HF Spaces
|
58 |
EXPOSE 7860
|
59 |
|
|
|
25 |
/app/api/logs \
|
26 |
/app/data \
|
27 |
/app/caddy && \
|
|
|
28 |
chmod -R 777 \
|
29 |
/app/uploads/temp \
|
30 |
/app/client/public/images \
|
|
|
50 |
# Install additional dependencies
|
51 |
RUN cd /app/api && npm install
|
52 |
|
|
|
|
|
|
|
53 |
# Expose the correct port for HF Spaces
|
54 |
EXPOSE 7860
|
55 |
|