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
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package.json yarn.lock ./
|
||||||
RUN npm install
|
RUN yarn
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["npm", "run", "start"]
|
CMD ["yarn", "start"]
|
Loading…
x
Reference in New Issue
Block a user