Docker again

This commit is contained in:
cdricms
2025-01-13 15:53:26 +01:00
parent 3c97377a38
commit dab5c193e0
3 changed files with 22 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ WORKDIR /app
# Copy project files
COPY ./latosa-frontend/ .
RUN deno install
# Install Next.js dependencies
RUN deno task build

10
docker-compose.yaml Normal file
View File

@@ -0,0 +1,10 @@
services:
latosa-escrima:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- NODE_ENV=production
restart: always # Ensures the container restarts on failure or Docker restart

View File

@@ -0,0 +1,10 @@
services:
latosa-escrima.fr:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- NODE_ENV=production
restart: always # Ensures the container restarts on failure or Docker restart