Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 8c052d6

Browse files
authored
DOC: strapi/strapi upgrade highlevel process (#276)
Users frequently make assumption, that upgrading docker images will upgrade application within, which is not the case for Strapi: This change answers question raised in: - #184 - https://stackoverflow.com/questions/55879988/how-to-upgrade-strapi-in-docker-container
1 parent 7193dfe commit 8c052d6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ docker run -it \
9999
strapi/strapi
100100
```
101101

102+
103+
### Upgrading Strapi in Docker container
104+
105+
- **Important!** Upgrading `strapi/strapi` Docker image tag **does not** upgrade Strapi version.
106+
- Strapi NodeJS application builds itself during first startup only, if detects empty folder and is normally stored in mounted volume. See [docker-entrypoint.sh](https://github.com/strapi/strapi-docker/blob/master/strapi/docker-entrypoint.sh).
107+
- To upgrade, first follow the guides ([general](https://strapi.io/documentation/developer-docs/latest/guides/update-version.html) and [version-specific](https://strapi.io/documentation/developer-docs/latest/migration-guide/)) to rebuild actual Strapi NodeJS application. Secondly, update docker tag to match the version to avoid confusion.
108+
102109
## How to use `strapi/base`
103110

104111
When deploying a strapi application to production you can use docker to package your whole app in an image. You can create a Dockerfile in your strapi project like the one in [`./examples/custom`](./examples/custom)

0 commit comments

Comments
 (0)