Dockerize the application

This commit is contained in:
Ariful Alam
2024-02-16 17:29:36 +06:00
parent 30efe53c2f
commit 0ec8198cb6
4 changed files with 691 additions and 0 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
version: '3'
services:
app:
build:
context: .
dockerfile: ./node_modules/vail/runtimes/npm/Dockerfile
args:
VAIL_NODE_VERSION: 20
command: npm run dev -- --host 0.0.0.0
ports:
- '5173:5173'
volumes:
- .:/var/www/html
networks:
- vail
networks:
vail:
driver: bridge