working docker

This commit is contained in:
2024-04-11 17:23:47 -04:00
parent 41aaacf307
commit c762a65fb1
3 changed files with 10 additions and 17 deletions

View File

@@ -1,27 +1,20 @@
version: '3.8'
name: oil
volumes:
myapp:
external: true
name: auburnoil
services:
front:
container_name: goodoill-dev
restart: on-failure
image: node:latest
build:
context: ../oil_frontend
dockerfile: Dockerfile
volumes:
- ../oil_frontend:/app
ports:
- '5180:5173'
command: 'vite dev --host --port 5173'
- '5169:5169'
command: 'npm run dev'