Skip to content

Commit 64f4805

Browse files
committed
add comment in Dockerfiles to run workflow
1 parent 460ec0b commit 64f4805

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

backend/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ RUN npx prisma generate
1616
# Stage 2: Production image
1717
FROM node:18-alpine
1818

19+
# set up the working directory
1920
WORKDIR /app
2021

2122
ENV NODE_ENV=production

frontend/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Builder stage
22
FROM node:18-alpine AS builder
33

4+
# Set the working directory
45
WORKDIR /app
56

67
# Copy package.json and package-lock.json first to leverage Docker cache

0 commit comments

Comments
 (0)