#Payload Cloud with Dockerfile

9 messages · Page 1 of 1 (latest)

soft bison
#

Hi,
We are trying to deploy a project with a Dockerfile on Payload Cloud but we are getting deployment's issues...
We have taken this approach because we are using pnpm as package manager.
Do you have any documentation or steps to deploy with a Dockerfile? It looks like this option is not super documented at this stage.
Thank you

willow narwhalBOT
timid star
#

@somber heron

somber heron
#

We will be updating the templates for 3.0 to work with pnpm on the platform (which will likely use a functioning Dockerfile)

As of now, you'll largely be on your own as this is not the most common way to use Payload Cloud.

If you can provide info on what you're running into, we can help troubleshoot.

soft bison
#

Thanks.
From build logs, it looks like image is build and uploaded. But from deploy logs, I'm getting nothing.
Should I update serve command to start the image?

soft bison
#

Hello,
I'm thinking to switch back to npm in order to be able to deploy on Payload Cloud.
But I would love to ear how to run the Dockerfile on Cloud.
I can share you project id and current docker file if you want.
Thank you

somber heron
#

If you're using npm or yarn, a Dockerfile is not needed at all

#

Just setting the commands in your project settings will be sufficient

#

It will be detected, built and deployed accordingly.