Skip to content
This repository was archived by the owner on Aug 15, 2023. It is now read-only.

Commit 51416fc

Browse files
committed
build(workspace): fix docker-compose build
1 parent 4ea7eee commit 51416fc

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

Dockerfile

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
1-
FROM node:16-slim as build
1+
FROM node:16.14-slim as build
22

33
WORKDIR /app
44

5-
COPY .yarn ./.yarn
6-
COPY .yarnrc.yml tsconfig.json package.json ./
7-
COPY ./shared ./shared
8-
COPY ./backend ./backend
9-
COPY ./YCAI ./YCAI
5+
COPY .yarn/ .yarn/
6+
7+
COPY package.json .
8+
COPY yarn.lock .
9+
COPY .yarnrc.yml .
10+
COPY tsconfig.json .
11+
12+
13+
COPY packages/shared ./packages/shared
14+
COPY packages/taboule ./packages/taboule
15+
COPY platforms/tktrex ./platforms/tktrex
16+
COPY platforms/yttrex ./platforms/ytrrex
17+
COPY platforms/ycai ./platforms/ycai
1018

1119
RUN yarn install
12-
RUN yarn build

docker-compose.yml

+4
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ services:
5454
- mongodb
5555

5656
build-from-zip:
57+
image: node:16-slim
5758
build:
5859
dockerfile: from-zip.Dockerfile
5960
context: .
61+
target: unzip
6062
container_name: build-from-zip
63+
stdin_open: true # docker run -i
64+
tty: true # docker run -t
6165

6266
yt-backend:
6367
build:

packages/shared/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@material-ui/core": "^4.12.4",
1515
"@material-ui/icons": "^4.11.3",
1616
"@material-ui/lab": "^4.0.0-alpha.61",
17+
"@mui/icons-material": "^5.8.0",
1718
"avenger": "^7.0.1",
1819
"axios": "^0.24.0",
1920
"cross-fetch": "^3.1.5",

yarn.lock

+1
Original file line numberDiff line numberDiff line change
@@ -6560,6 +6560,7 @@ __metadata:
65606560
"@material-ui/core": ^4.12.4
65616561
"@material-ui/icons": ^4.11.3
65626562
"@material-ui/lab": ^4.0.0-alpha.61
6563+
"@mui/icons-material": ^5.8.0
65636564
"@pmmmwh/react-refresh-webpack-plugin": ^0.5.7
65646565
"@types/bs58": ^4.0.1
65656566
"@types/chrome": ^0.0.188

0 commit comments

Comments
 (0)