Docker again
This commit is contained in:
@@ -7,6 +7,8 @@ WORKDIR /app
|
|||||||
# Copy project files
|
# Copy project files
|
||||||
COPY ./latosa-frontend/ .
|
COPY ./latosa-frontend/ .
|
||||||
|
|
||||||
|
RUN deno install
|
||||||
|
|
||||||
# Install Next.js dependencies
|
# Install Next.js dependencies
|
||||||
RUN deno task build
|
RUN deno task build
|
||||||
|
|
||||||
|
|||||||
10
docker-compose.yaml
Normal file
10
docker-compose.yaml
Normal 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
|
||||||
10
latosa-frontend/docker-compose.yaml
Normal file
10
latosa-frontend/docker-compose.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user