Spaces:
Running
Running
Commit
·
2aea863
1
Parent(s):
f6a5e63
fix: remove .env.local from Dockerfile (local dev file only)
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -2,7 +2,7 @@ FROM node:20-slim
|
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 4 |
|
| 5 |
-
# Build timestamp: 2026-01-
|
| 6 |
|
| 7 |
WORKDIR /app
|
| 8 |
|
|
@@ -19,9 +19,8 @@ COPY trigo-web/inc/ ./inc/
|
|
| 19 |
# Copy frontend dist
|
| 20 |
COPY trigo-web/app/dist/ ./app/dist/
|
| 21 |
|
| 22 |
-
# Copy env files
|
| 23 |
COPY trigo-web/backend/.env ./backend/.env
|
| 24 |
-
COPY trigo-web/backend/.env.local ./backend/.env.local
|
| 25 |
|
| 26 |
# Create a Docker-specific entry point that sets correct paths
|
| 27 |
RUN echo 'import express from "express"; \
|
|
|
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 4 |
|
| 5 |
+
# Build timestamp: 2026-01-13T17:50
|
| 6 |
|
| 7 |
WORKDIR /app
|
| 8 |
|
|
|
|
| 19 |
# Copy frontend dist
|
| 20 |
COPY trigo-web/app/dist/ ./app/dist/
|
| 21 |
|
| 22 |
+
# Copy env files (only .env, .env.local is for local development only)
|
| 23 |
COPY trigo-web/backend/.env ./backend/.env
|
|
|
|
| 24 |
|
| 25 |
# Create a Docker-specific entry point that sets correct paths
|
| 26 |
RUN echo 'import express from "express"; \
|