mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 12:27:17 +00:00
Dockerize the application
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user