Last active
January 17, 2024 15:50
-
-
Save Olshansk/7ca3e5819102321974277255567f45ce to your computer and use it in GitHub Desktop.
Hot Reload Dockerfile - Docker Compose with Volume Mount
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.7' | |
| services: | |
| server: | |
| container_name: server | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| volumes: | |
| - ./src:/usr/src | |
| ports: | |
| - "8008:8008" | |
| environment: | |
| - PORT=8008 | |
| entrypoint: /start-reload.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment