Skip to main content
This section covers how to dockerize Cuehand projects for production deployment. This is useful for deploying Cuehand projects on platforms like Railway.
1

Create a Dockerfile

Dockerfile
2

Create a .dockerignore file

Create a .dockerignore file in the root of your project.
.dockerignore
3

Create a docker-compose.yml file

Create a docker-compose.yml file in the root of your project.
docker-compose.yml
Optionally, if you want to store user data in a volume, you can add the following:
docker-compose.yml
4

Build and run the container

Build and run the container.
I keep mentioning Railway, but you can use any platform that supports Docker.