Project with Docker that should not use Docker

I have a NodeJS repo that has a Dockerfile, but I would like to be able to deploy it without using this Dockerfile. In fact, my Dockerfile is for the website using NextJS, but I also have a Storybook that I would like to run (npm run sb:build && npm run sb:start), except that I can't specify a build command when a Dockerfile is present. Project ID : 3b773474-929b-4462-8ef5-d08b82873b04
5 Replies
Percy
Percy2y ago
Project ID: 3b773474-929b-4462-8ef5-d08b82873b04
Brody
Brody2y ago
rename the Dockerfile to something like Dockerfile.dev or just remove the Dockerfile
Percy
Percy2y ago
It is possible to build a project without dockerizing it, but Railway uses the Dockerfile in order to deploy on the server. It is possible to avoid using that method by gitignoring it from the repo or renaming it to something like Dockerfile.dev.
⚠️ experimental feature
Bluzzi
Bluzzi2y ago
But I need this Dockerfile for the website too
Brody
Brody2y ago
move the nextjs app and the storybook app into separate folders
Want results from more Discord servers?
Add your server