20 lines
301 B
Docker
20 lines
301 B
Docker
# Use Deno image
|
|
FROM denoland/deno:alpine
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Copy project files
|
|
COPY ./latosa-frontend/ .
|
|
|
|
RUN deno install
|
|
|
|
# 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"]
|