services: workout-app: build: . container_name: workout-app ports: - "8080:80" # Access the app at http://: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