tpmjs/apps/railway-executor/Dockerfile

14 lines
276 B
Docker

# Use official Deno image
FROM denoland/deno:1.39.0
# Set working directory
WORKDIR /app
# Copy the server file
COPY server.ts .
# Expose port (Railway will set PORT env var)
EXPOSE 3002
# Run the Deno server
CMD ["deno", "run", "--allow-net", "--allow-env", "server.ts"]