Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ WORKDIR /app
# Copy package.json
COPY package.json .

# Install production dependencies using Yarn
RUN npm install --production
# Install dependencies (dev deps needed for the build step)
RUN npm install
# Copy the rest of the application files
COPY . .

# Build the frontend using Yarn
# Build the frontend
RUN npm run build

# Stage 2: Serve the application with Nginx
Expand Down
Loading