# Use the official Deno image from the Docker HubFROM denoland/deno:1.40.4# Set the working directoryWORKDIR /app# Copy the project files to the Docker imageCOPY . .# Expose port 3000 to the outsideEXPOSE 3000# Run the server when the Docker image is run, replace 'server.js' with your server fileCMD ["deno", "run", "--allow-all", "main.ts"]
deno bundle