I’m trying to create a new project using DigitalOcean’s App Platform with a monorepo. I’m loosely following this guide on how to structure the project, but I’m not sure how to target a particular build step within DigitalOcean.
This is the Docker command:
docker build . --target app1 --tag app1:latest
This is how I would target it in docker compose:
version: '3.8' services: web: container_name: sample-app1 image: sample-app1 build: context: . target: app1 ports: - '3000:3000'
Is there a way I can configure this using the App Platform?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.