Spaces:
Running
Running
Commit ·
3ae16fc
1
Parent(s): 9d29748
fix: remove COPY .env.production (secrets come from HF env vars)
Browse files- Dockerfile +0 -3
Dockerfile
CHANGED
|
@@ -31,9 +31,6 @@ COPY --from=frontend-build /build/dist /app/frontend/dist
|
|
| 31 |
COPY nginx.conf /etc/nginx/nginx.conf
|
| 32 |
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
| 33 |
|
| 34 |
-
# Copy .env template (secrets will come from HF env vars)
|
| 35 |
-
COPY .env.production /app/.env
|
| 36 |
-
|
| 37 |
# Create non-root user (HF Spaces requirement)
|
| 38 |
RUN useradd -m -u 1000 appuser && \
|
| 39 |
chown -R appuser:appuser /app && \
|
|
|
|
| 31 |
COPY nginx.conf /etc/nginx/nginx.conf
|
| 32 |
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
| 33 |
|
|
|
|
|
|
|
|
|
|
| 34 |
# Create non-root user (HF Spaces requirement)
|
| 35 |
RUN useradd -m -u 1000 appuser && \
|
| 36 |
chown -R appuser:appuser /app && \
|