Spaces:
Running
Running
build command
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -4,11 +4,10 @@ FROM node:16-alpine
|
|
4 |
RUN npm install -g pnpm
|
5 |
|
6 |
WORKDIR /app
|
7 |
-
|
8 |
-
RUN pnpm install --frozen-lockfile
|
9 |
|
10 |
COPY . .
|
11 |
-
RUN
|
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"]
|