Build app from dockerfile
Hey guys, I hope your day was great!
I've been trying out Dokploy, and it's an amazing tool, congratulations and success to the developers for such a good job.
I started using it with astro websites, and then I found myself in the need to publish an application in Angular.
I first tried with the default Nixpacks option, uploading the static files, and it worked, but there is a bad but normal behavior, returning 404 when refreshing the website or entering from a specific url.
To solve this, I decided to add a Dockerfile to my repository, which brings the nginx configuration necessary to solve the error, connect the repository with Dokploy, and from there, use the Dockerfile build type.
I admit that I'm new to Docker. As I understood, this will build the image using the dockerfile, and start the container. And it asks me for 2 fields:
Docker File
Docker Context Path
The first one I understand is the path to the dockerfile within the repository, but I don't understand what the second one is, and I haven't been able to deploy the container from the dockerfile.
I'm sorry to bother you with my question, the truth is I've been trying to investigate on my own, but I haven't been able to get it to work. Thanks for reading.
I've been trying out Dokploy, and it's an amazing tool, congratulations and success to the developers for such a good job.
I started using it with astro websites, and then I found myself in the need to publish an application in Angular.
I first tried with the default Nixpacks option, uploading the static files, and it worked, but there is a bad but normal behavior, returning 404 when refreshing the website or entering from a specific url.
To solve this, I decided to add a Dockerfile to my repository, which brings the nginx configuration necessary to solve the error, connect the repository with Dokploy, and from there, use the Dockerfile build type.
I admit that I'm new to Docker. As I understood, this will build the image using the dockerfile, and start the container. And it asks me for 2 fields:
Docker File
Docker Context Path
The first one I understand is the path to the dockerfile within the repository, but I don't understand what the second one is, and I haven't been able to deploy the container from the dockerfile.
I'm sorry to bother you with my question, the truth is I've been trying to investigate on my own, but I haven't been able to get it to work. Thanks for reading.


