change from npm to yarn in Dockerfile
This commit is contained in:
parent
631bfc7d76
commit
43d348fcfb
@ -2,9 +2,9 @@ FROM node:lts-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn
|
||||
COPY ./ ./
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["npm", "run", "start"]
|
||||
CMD ["yarn", "start"]
|
Loading…
x
Reference in New Issue
Block a user