Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fixed asset compilation command in docker plugin section

Markus Kahlac12222556ca
diff --git a/docs/installation-and-operations/installation/docker/README.md b/docs/installation-and-operations/installation/docker/README.md
index b7cc753ce16..bde5495db83 100644
--- a/docs/installation-and-operations/installation/docker/README.md
+++ b/docs/installation-and-operations/installation/docker/README.md
@@ -90,7 +90,7 @@ docker run -d -p 8080:80 -e SECRET_KEY_BASE=secret openproject/community:11
**Note**: We've had reports of people being unable to start OpenProject this way
because of an [issue regarding pseudo-TTY allocations](https://github.com/moby/moby/issues/31243#issuecomment-406825071)
and permissions to write to `/dev/stdout`. If you run into this, a workaround
-seems to be to add `-t` to your run command, even if you run in detached mode.
+seems to be to add `-t` to your run command, even if you run in detached mode.
### Recommended usage
@@ -286,10 +286,18 @@ end
```
FROM openproject/community:11
+# If installing a local plugin (using `path:` in the `Gemfile.plugins` above),
+# you will have to copy the plugin code into the container here and use the
+# path inside of the container. Say for `/app/vendor/plugins/openproject-slack`:
+# COPY /path/to/my/local/openproject-slack /app/vendor/plugins/openproject-slack
+
COPY Gemfile.plugins /app/
+# If the plugin uses any external NPM dependencies you have to install them here.
+# RUN npm add npm <package-name>*
+
RUN bundle config unset deployment && bundle install && bundle config set deployment 'true'
-RUN bash docker/precompile-assets.sh
+RUN ./docker/prod/setup/postinstall.sh
```
The file is based on the normal OpenProject docker image.