fix: Update docker build context to parent folder
This commit is contained in:
parent
6cd0549cdc
commit
d8be8109d1
1 changed files with 5 additions and 5 deletions
|
|
@ -2,8 +2,8 @@ services:
|
||||||
# Production frontend -- always runs
|
# Production frontend -- always runs
|
||||||
monochrome:
|
monochrome:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ..
|
||||||
dockerfile: Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
args:
|
args:
|
||||||
- AUTH_ENABLED=${AUTH_ENABLED}
|
- AUTH_ENABLED=${AUTH_ENABLED}
|
||||||
- AUTH_SECRET=${AUTH_SECRET}
|
- AUTH_SECRET=${AUTH_SECRET}
|
||||||
|
|
@ -54,15 +54,15 @@ services:
|
||||||
# Development server -- only starts with: docker compose --profile dev up -d
|
# Development server -- only starts with: docker compose --profile dev up -d
|
||||||
monochrome-dev:
|
monochrome-dev:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ..
|
||||||
dockerfile: Dockerfile.dev
|
dockerfile: docker/Dockerfile.dev
|
||||||
container_name: monochrome-dev
|
container_name: monochrome-dev
|
||||||
profiles:
|
profiles:
|
||||||
- dev
|
- dev
|
||||||
ports:
|
ports:
|
||||||
- '${MONOCHROME_DEV_PORT:-5173}:5173'
|
- '${MONOCHROME_DEV_PORT:-5173}:5173'
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- ..:/app
|
||||||
- /app/node_modules
|
- /app/node_modules
|
||||||
command: npm run dev -- --host 0.0.0.0
|
command: npm run dev -- --host 0.0.0.0
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue