| # Use official Deno image | |
| FROM denoland/deno:latest | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy the local code to the container | |
| COPY . . | |
| # Expose port 8080 | |
| EXPOSE 7860 | |
| # Define the startup command | |
| CMD ["deno", "run", "--allow-net", "server.ts"] | |
| # Use official Deno image | |
| FROM denoland/deno:latest | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy the local code to the container | |
| COPY . . | |
| # Expose port 8080 | |
| EXPOSE 7860 | |
| # Define the startup command | |
| CMD ["deno", "run", "--allow-net", "server.ts"] | |