Skip to content

Commit e400007

Browse files
committed
copied .env file
1 parent 28d9ca8 commit e400007

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

backend/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ RUN npm install
1313
# Copy the rest of the application code
1414
COPY . .
1515

16+
# Copy the .env file
17+
COPY .env .env
18+
1619
# Expose the port the app runs on
1720
EXPOSE 5001
1821

frontend/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ RUN npm install -g serve
2525
# Copy the build files from the previous stage
2626
COPY --from=build /app/build /app/build
2727

28+
# Copy the .env file
29+
COPY .env .env
30+
2831
# Expose the port the app runs on
2932
EXPOSE 3000
3033

0 commit comments

Comments
 (0)