enzostvs HF staff commited on
Commit
8a0c38c
·
1 Parent(s): a8fc99a

build command

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -4,11 +4,10 @@ FROM node:16-alpine
4
  RUN npm install -g pnpm
5
 
6
  WORKDIR /app
7
- COPY package.json pnpm-lock.yaml ./
8
- RUN pnpm install --frozen-lockfile
9
 
10
  COPY . .
11
- RUN pnpm build
12
 
13
  EXPOSE 3000
14
  CMD ["node", "build"]
 
4
  RUN npm install -g pnpm
5
 
6
  WORKDIR /app
7
+ RUN npm install --frozen-lockfile
 
8
 
9
  COPY . .
10
+ RUN npm run build
11
 
12
  EXPOSE 3000
13
  CMD ["node", "build"]