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

@@ -4,8 +4,8 @@ name: auburnoil
services:
frontend:
container_name: goodoil
image: anekdotin/goodoil:latest
container_name: auburnoil
image: anekdotin/auburnoil:latest
restart: on-failure
build:
context: ../oil_frontend

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'

View File

@@ -1,15 +1,15 @@
version: '3.8'
name: goodoil
name: auburnoil
services:
front:
container_name: goodoil
image: anekdotin/goodoil:latest
image: anekdotin/auburnoil:latest
restart: on-failure
build:
context: ../goodoil
context: ../auburnoil
dockerfile: Dockerfile.prod
ports:
- '5180:3000'