Last active
November 17, 2022 10:20
-
-
Save bbachi/664a3817323fb79ab7981a7bb220adae to your computer and use it in GitHub Desktop.
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' | |
services: | |
nodejs-server: | |
build: | |
context: ./api | |
dockerfile: Dockerfile-dev | |
ports: | |
- "3080:3080" | |
container_name: node-api | |
volumes: | |
- ./api:/usr/src/app/api | |
- /usr/src/app/api/node_modules | |
angular-ui: | |
build: | |
context: ./app-ui | |
dockerfile: Dockerfile-dev | |
ports: | |
- "4201:4201" | |
container_name: angular-ui | |
volumes: | |
- ./app-ui:/usr/src/app/app-ui | |
- /usr/src/app/app-ui/node_modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment