update: dockerfile
This commit is contained in:
@@ -5,8 +5,6 @@ COPY package*.json ./
|
||||
|
||||
run npm config set registry https://mirror-npm.runflare.com
|
||||
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV PORT=3000
|
||||
@@ -15,3 +13,4 @@ EXPOSE 3000
|
||||
|
||||
CMD ["npm", "start"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user