This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
FROM node:18-bullseye as dep-builder
|
FROM node:18
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -6,9 +6,8 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ENV https_proxy=http://192.168.124.12:7890
|
|
||||||
ENV https_proxy=http://192.168.124.12:7890
|
|
||||||
RUN npm --registry https://registry.npm.taobao.org install
|
RUN npm --registry https://registry.npm.taobao.org install
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
CMD [ "node", "app.js" ]
|
CMD [ "node", "app.js" ]
|
||||||
|
Reference in New Issue
Block a user