Created
June 29, 2022 05:44
-
-
Save akagaeng/108be6f2c14f83ac322720039320badc to your computer and use it in GitHub Desktop.
docker-compose.yaml build with Dockerfile
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.8" | |
services: | |
app: | |
container_name: my-app | |
build: | |
context: . | |
dockerfile: Dockerfile | |
ports: | |
- "8080:80" | |
env_file: | |
- .env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment