Last active
July 1, 2021 06:57
-
-
Save starlightromero/52f891a63f93d52de010360eac67ea11 to your computer and use it in GitHub Desktop.
Dockerignore Example / 06-binds / test docker-compose
This file contains 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-test: | |
image: dockerignore-test | |
build: | |
context: . | |
dockerfile: Dockerfile.test | |
container_name: dockerignore-test | |
volumes: | |
- ./main_test.go:/app/main_test.go | |
env_file: | |
- .env | |
ports: | |
- 8080:8080 | |
command: go test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment