update: dockerfile
This commit is contained in:
@@ -3,15 +3,12 @@ WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
run npm config set registry https://mirror-npm.runflare.com
|
||||
RUN npm config set registry https://mirror-npm.runflare.com && \
|
||||
npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV PORT=3000
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
CMD ["npm", "start"]
|
||||
|
||||
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user