Update Dockerfile
Browse files- Dockerfile +3 -6
Dockerfile
CHANGED
@@ -2,10 +2,7 @@ FROM node:alpine
|
|
2 |
RUN apk add git curl bash wget sudo
|
3 |
WORKDIR /app
|
4 |
RUN git clone https://github.com/anse-app/anse .
|
5 |
-
RUN npm install -
|
6 |
-
|
7 |
-
COPY . .
|
8 |
-
RUN pnpm run build
|
9 |
-
ENV HOST=0.0.0.0 PORT=7860 NODE_ENV=production
|
10 |
EXPOSE $PORT
|
11 |
-
CMD
|
|
|
2 |
RUN apk add git curl bash wget sudo
|
3 |
WORKDIR /app
|
4 |
RUN git clone https://github.com/anse-app/anse .
|
5 |
+
RUN npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force
|
6 |
+
ENV HOST=0.0.0.0 PORT=7860
|
|
|
|
|
|
|
7 |
EXPOSE $PORT
|
8 |
+
CMD npm run dev
|