Skip to content
Snippets Groups Projects
Verified Commit 68113c32 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Allow to install additional apps

parent c6f14fe1
Branches test-deployment
No related tags found
1 merge request!550Resolve "[Docker] Allow using core image as base image for app/distribution images"
Pipeline #6651 passed
......@@ -52,6 +52,12 @@ RUN set -e; \
${ALEKSIS_backup__location}; \
eatmydata pip install AlekSIS-Core\[$EXTRAS\]$APP_VERSION
# Installl additional apps
ONBUILD RUN set -e; \
if [ ! -z "$APPS" ]; then \
eatmydata pip install $APPS; \
fi
# Define entrypoint, volumes and uWSGI running on port 8000
EXPOSE 8000
VOLUME ${ALEKSIS_media__root} ${ALEKSIS_backup__location}
......@@ -67,7 +73,7 @@ RUN eatmydata aleksis-admin yarn install; \
# Clean up build dependencies
FROM assets AS clean
RUN set -e; \
ONBUILD RUN set -e; \
eatmydata apt-get remove --purge -y \
build-essential \
gettext \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment