mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-04 12:32:58 +00:00
fix build
This commit is contained in:
+2
-2
@@ -12,8 +12,8 @@ COPY frontend/package*.json ./frontend/
|
|||||||
RUN cd frontend && npm install --include=dev
|
RUN cd frontend && npm install --include=dev
|
||||||
|
|
||||||
# Copy environment variables and source code
|
# Copy environment variables and source code
|
||||||
COPY .env ./frontend/.env
|
COPY ../.env ./frontend/.env
|
||||||
COPY frontend/ ./frontend/
|
COPY . ./frontend/
|
||||||
|
|
||||||
# Create a .env.production file with build arguments
|
# Create a .env.production file with build arguments
|
||||||
RUN cd frontend && echo "VITE_DEMO_MODE=${VITE_DEMO_MODE}" >> .env.production && \
|
RUN cd frontend && echo "VITE_DEMO_MODE=${VITE_DEMO_MODE}" >> .env.production && \
|
||||||
|
|||||||
Reference in New Issue
Block a user