Skip to content

Add support for docker-composeΒ #3

@bean5

Description

@bean5

Should be as simple as a file like the following into a file called docker-compose.yml:

json_server:
  build: .
  command: 'sh run.sh'
  working_dir: /data
  ports:
   - '80:80'

Then, perhaps you could later map the volume in via docker-compose instead of via the Dockerfile:

json_server:
  build: .
  command: 'sh run.sh'
  working_dir: /data
  ports:
   - '80:80'
  volumes:
   - ./data:/data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions