mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-14 00:41:06 +01:00
14 lines
624 B
Docker
14 lines
624 B
Docker
|
FROM openproject/community:13
|
||
|
|
||
|
# 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 ./docker/prod/setup/postinstall.sh
|