Docker
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# Use Deno image
|
||||
FROM denoland/deno:alpine
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy project files
|
||||
COPY ./latosa-frontend/ .
|
||||
|
||||
# Install Next.js dependencies
|
||||
RUN deno task build
|
||||
|
||||
# Expose the default Next.js port
|
||||
EXPOSE 3000
|
||||
|
||||
# Start the Next.js app
|
||||
CMD ["deno", "task", "start"]
|
||||
Reference in New Issue
Block a user