update Dockerfile
This commit is contained in:
Родитель
4df221acac
Коммит
57e1c989d5
|
@ -7,17 +7,14 @@ RUN mkdir -p /usr/src/app/server
|
|||
WORKDIR /usr/src/app
|
||||
|
||||
# Install app dependencies
|
||||
COPY package.json /usr/src/app/
|
||||
COPY package-lock.json /usr/src/app/
|
||||
COPY yarn.lock /usr/src/app/
|
||||
COPY package.json /usr/src/app/
|
||||
|
||||
COPY server/yarn.lock /usr/src/app/server
|
||||
COPY server/package.json /usr/src/app/server
|
||||
COPY server/package-lock.json /usr/src/app/server
|
||||
|
||||
COPY client/yarn.lock /usr/src/app/client
|
||||
COPY client/package.json /usr/src/app/client
|
||||
COPY client/package-lock.json /usr/src/app/client
|
||||
|
||||
RUN npm install yarn -g
|
||||
RUN yarn
|
||||
|
|
Загрузка…
Ссылка в новой задаче