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>
14 lines
276 B
Docker
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"]
|