docker-compose.yml 343 B

12345678910111213141516171819
  1. version: '3.4'
  2. services:
  3. postmantoopenapi:
  4. container_name: postmantoopenapi
  5. image: jianboy/postmantoopenapi:latest
  6. build:
  7. context: .
  8. dockerfile: ./Dockerfile
  9. environment: # - name=value
  10. ports:
  11. - 3000:3000
  12. command:
  13. [
  14. "npm",
  15. "run",
  16. "start"
  17. ]
  18. working_dir: /app