Skip to content

Commit e8b8d6d

Browse files
committed
clean up Dockerfile
1 parent debdf38 commit e8b8d6d

File tree

5 files changed

+1061
-824
lines changed

5 files changed

+1061
-824
lines changed

peerprep-fe/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ RUN npm install -g pnpm
44

55
WORKDIR /app
66

7-
# Copy package.json and pnpm-lock.yaml
8-
COPY package*.json pnpm-lock.yaml ./
7+
# Copy package.json
8+
COPY package*.json ./
99

10-
RUN pnpm install --frozen-lockfile
10+
RUN pnpm install
1111

1212
# Install zustand explicitly
1313
RUN pnpm add zustand
@@ -33,6 +33,7 @@ ENV PORT=3000
3333
COPY . .
3434
RUN pnpm build
3535

36+
# Expose the port the app runs on in production mode
3637
EXPOSE ${PORT}
3738

3839
# Start the app in production mode

0 commit comments

Comments
 (0)