Skip to content

Commit

Permalink
Fix docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj committed May 12, 2024
1 parent ecb0d9d commit c7c49cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
14 changes: 0 additions & 14 deletions Dockerfile

This file was deleted.

11 changes: 8 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
services:
pola_web-init:
image: node:20.10.0-stretch
image: node:20-bookworm-slim
working_dir: /app
volumes:
- .:/app
command: npm install
command: npm install --legacy-peer-deps
pola_web:
image: node:20.10.0-stretch
image: node:20-bookworm-slim
working_dir: /app
volumes:
- .:/app
command: npm run develop -- -H=0.0.0.0
ports:
- 8000:8000
expose:
- 8000
environment:
- CONTENTFUL_SPACE_ID=${CONTENTFUL_SPACE_ID:-}
- CONTENTFUL_ACCESS_TOKEN=${CONTENTFUL_ACCESS_TOKEN:-}
depends_on:
pola_web-init:
condition: service_completed_successfully

0 comments on commit c7c49cc

Please sign in to comment.