tpmjs/apps/railway-executor/Dockerfile
Ajax Davis b7e6a6b2dc fix: use Dockerfile instead of Nixpacks for Railway deployment
Railway is deprecating Nixpacks, so switching to a standard Dockerfile
with the official Deno image. This provides a cleaner and more maintainable
deployment configuration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 08:35:50 +10:00

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"]