File size: 381 Bytes
f46e223
 
 
 
 
 
 
 
 
 
 
eae6568
dbc8386
eae6568
 
f46e223
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM node:18.16.0 as build
ARG REACT_APP_TG_API_ID
ARG REACT_APP_TG_API_HASH

WORKDIR /apps
COPY yarn.lock .
COPY package.json .
COPY api/package.json api/package.json
COPY web/package.json web/package.json
COPY docker/.env .
RUN yarn cache clean
RUN yarn info 
RUN yarn install --network-timeout 1000000
RUN yarn upgrade 
RUN yarn add yarn 
COPY . .
RUN yarn workspaces run build