#version: '3.8' services: tp5-shelf: image: dart:latest volumes: - ./app:/app working_dir: /app command: sh -c "dart pub get && dart run bin/server.dart" #ports: # - "8082:8080" # services: # tp5-shelf: # build: # context: . # dockerfile: Dockerfile # volumes: # - ./app:/app # # ports: # # - "8081:8080" # #environment: # # Add any environment variables needed for your application here # # Example: MY_ENV_VAR: "value" # restart: unless-stopped networks: default: name: caddy-network external: true