/api added with docker

This commit is contained in:
2024-03-20 17:14:46 -05:00
parent 6dcd18600e
commit 8a360d09ee
305 changed files with 29241 additions and 13 deletions

View File

@@ -3,6 +3,12 @@ services:
app:
build: .
ports:
- "8000:80" # Map port 8000 on the host to port 80 in the container
- "8000:80"
volumes:
- .:/usr/share/nginx/html # Mount the current directory to Nginx's serving directory in the container
- .:/usr/share/nginx/html
api:
build: ./api
ports:
- "3000:3000"
volumes:
- ./api:/usr/src/app # Mount the local ./api directory to /usr/src/app in the container