Skip to content

Commit

Permalink
quickly add development docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Tilsch committed Mar 20, 2024
1 parent 63cd3d8 commit 094e57e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ Open [http://localhost:6006](http://localhost:6006) with your browser to see the
1. Build your container: `docker build -t exhibition-docker .`.
1. Run your container: `docker run -p 3000:3000 exhibition-docker`.

### develop within docker

1. `docker compose up -d`
2. `docker compose exec exhibition-live /bin/bash`

## Technologies

Expand Down
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: '3'

services:
nodejs:
image: exhibition-docker
container_name: exhibition-live
env_file: .env
ports:
- "3000:3000"
volumes:
- .:/app
stdin_open: true
tty: true
command: tail -f /dev/null

0 comments on commit 094e57e

Please sign in to comment.