Custom Dockerfile
If your project already has a Dockerfile, gy detects it and uses it verbatim — no
generation, no assumptions.
Deploy
Section titled “Deploy”cd my-containerized-appgy deployPoint at a specific Dockerfile
Section titled “Point at a specific Dockerfile”gy deploy --dockerfile ./path/to/DockerfileExamples
Section titled “Examples”# Use the Dockerfile in the current directorygy deploy
# Use a Dockerfile elsewhere in a monorepogy deploy --dockerfile ./services/api/Dockerfile
# Explicit port and tiergy deploy --port 8080 --tier t3- Expose your app’s port in the Dockerfile (
EXPOSE 8080) or pass--port. - Bind to
0.0.0.0inside the container so the runtime can route traffic. - Keep images lean — the build and upload happen automatically after your Dockerfile runs.