Skip to content

Commit

Permalink
feat: docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Sep 3, 2023
1 parent fd7f277 commit 578d7e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@ FROM node:18-alpine AS base
FROM base AS build

WORKDIR /app

RUN npm install pnpm -g

COPY package.json pnpm-lock.yaml ./

RUN pnpm i

COPY . .

RUN pnpm run build

FROM base AS final
Expand Down

0 comments on commit 578d7e1

Please sign in to comment.