12 lines
402 B
YAML
12 lines
402 B
YAML
|
|
services:
|
||
|
|
workout-app:
|
||
|
|
build: .
|
||
|
|
container_name: workout-app
|
||
|
|
ports:
|
||
|
|
- "8080:80" # Access the app at http://<your-server-ip>:8080
|
||
|
|
restart: unless-stopped
|
||
|
|
volumes:
|
||
|
|
# This is optional. If you want to edit files live without rebuilding,
|
||
|
|
# you can mount the public directory. For production, it's better to build the image.
|
||
|
|
# - ./public:/usr/share/nginx/html:ro
|