They don’t appear to publish images
- You’ll have to build an image with the code (dockerfile)
- when you add content-types, strapi writes code to the filesystem, so you’ll want a volume mount if you want to persist the changes to your repo
What I’m doing is
- dev: create a strapi project like any other JS/TS project, run a Node container mounting in the appropriate volumes.
- prd: do a
yarn buildand a multi-stage container build
If you want to just kick the tires, I’d recommend skipping docker and just running
npx create-strapi-app@beta my-project --quickstart --typescript- follow their getting started to see how strapi writes out files (Quick Start Guide - Strapi Developer Docs | Strapi Documentation)