Skip to content

Commit

Permalink
fix: updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nslee333 committed Mar 5, 2024
1 parent d31752d commit 6d5ebc9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ ARG PNPM_VERSION=8.15.4

FROM node:${NODE_VERSION}-alpine as base

WORKDIR /home/nslee333/cs/benddevops
WORKDIR /app

RUN npm install -g pnpm@${PNPM_VERSION}

COPY package.json pnpm-lock.yaml ./
RUN pnpm install

COPY next.config.js ./next.config.js
RUN pnpm install --frozen-lockfile

COPY /src/app ./app
COPY public ./public
COPY /src/styles ./styles
COPY . .

RUN pnpm build

EXPOSE 3000

CMD ["pnpm", "dev"]

0 comments on commit 6d5ebc9

Please sign in to comment.