Created
July 1, 2021 06:58
-
-
Save starlightromero/a8e486816ae767f2d7a36b919719ab3c to your computer and use it in GitHub Desktop.
Dockerignore Example / 06-binds / dev docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.9" | |
| services: | |
| dockerignore-dev: | |
| image: dockerignore-dev | |
| build: | |
| context: . | |
| dockerfile: Dockerfile.dev | |
| container_name: dockerignore-dev | |
| volumes: | |
| - ./main.go:/app/main.go | |
| env_file: | |
| - .env | |
| ports: | |
| - 8080:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment