mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
Need ssl change still, yarnrc doesnt work for install
This commit is contained in:
parent
a629ae7228
commit
07ea172cdb
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
with:
|
||||
node-version: 18
|
||||
- name: Install Dependencies
|
||||
run: yarn
|
||||
run: NODE_OPTIONS='--openssl-legacy-provider' yarn
|
||||
- name: Run Jest Unit Tests
|
||||
run: yarn test
|
||||
- name: Build App
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
FROM node:18-alpine
|
||||
|
||||
ENV NODE_OPTIONS=--openssl-legacy-provider
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
WORKDIR daedalOS
|
||||
|
|
|
|||
|
|
@ -253,3 +253,7 @@ yarn serve
|
|||
docker build -t daedalos .
|
||||
docker run -dp 3000:3000 --rm --name daedalos daedalos
|
||||
```
|
||||
|
||||
##### Notes
|
||||
|
||||
- If during `yarn install` you receive the error `digital envelope routines::unsupported`, you need to set `NODE_OPTIONS` to `--openssl-legacy-provider` ([1](https://github.com/DustinBrett/daedalOS/blob/main/Dockerfile#L3), [2](https://github.com/DustinBrett/daedalOS/blob/main/.github/workflows/main.yml#L17), [3](https://stackoverflow.com/a/69699772/5895982))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user