docker-compose.yml 338 B

1234567891011121314151617
  1. version: '3'
  2. services:
  3. backapp:
  4. build:
  5. context: .
  6. dockerfile: back.Dockerfile
  7. image: backapp
  8. ports:
  9. - "${PORT}:${PORT}"
  10. environment:
  11. NODE_ENV: production
  12. SERVE_CLIENT: $SERVE_CLIENT
  13. PORT: $PORT
  14. volumes:
  15. - ./images:/usr/src/app/images