Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -10,11 +10,8 @@ COPY api/package.json api/package.json
|
|
| 10 |
COPY web/package.json web/package.json
|
| 11 |
COPY docker/.env .
|
| 12 |
RUN yarn cache clean
|
|
|
|
|
|
|
| 13 |
RUN yarn install
|
| 14 |
-
RUN yarn global add prisma
|
| 15 |
-
RUN npx browserslist@latest --update-db
|
| 16 |
COPY . .
|
| 17 |
-
RUN echo 'export NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"' >>~/.bash_profile
|
| 18 |
-
RUN yarn set version 1.22.16
|
| 19 |
RUN yarn workspaces run build
|
| 20 |
-
|
|
|
|
| 10 |
COPY web/package.json web/package.json
|
| 11 |
COPY docker/.env .
|
| 12 |
RUN yarn cache clean
|
| 13 |
+
RUN yarn info
|
| 14 |
+
RUN echo 'export NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"' >>~/.bash_profile
|
| 15 |
RUN yarn install
|
|
|
|
|
|
|
| 16 |
COPY . .
|
|
|
|
|
|
|
| 17 |
RUN yarn workspaces run build
|
|
|