run yarn install in CI/CD non interactively

This commit is contained in:
DecDuck
2024-11-04 21:21:32 +11:00
parent 584bcf1cdf
commit a208fbedbd
3 changed files with 7185 additions and 3 deletions

View File

@ -7,7 +7,7 @@ WORKDIR /build
# install dependencies and build
COPY . .
RUN yarn install
RUN yarn install --non-interactive
RUN yarn build
# create run environment for Drop

View File

@ -1,9 +1,14 @@
services:
postgres:
image: postgres:14-alpine
user: "1000:1000"
ports:
- 5432:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "postgres"]
interval: 30s
timeout: 60s
retries: 5
start_period: 10s
volumes:
- ./db:/var/lib/postgresql/data
environment:
@ -12,7 +17,9 @@ services:
- POSTGRES_DB=drop
drop:
image: drop # todo
user: "1000:1000"
depends_on:
postgres:
condition: service_healthy
ports:
- 3000:3000
volumes:

7175
yarn.lock Normal file

File diff suppressed because it is too large Load Diff