Skip to content
Snippets Groups Projects
Commit a4378949 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'feature/docker-celery' into 'master'

[Docker] Add celery as an extra to Dockerfile

See merge request AlekSIS!210
parents 0c43ebe4 bb3295e1
No related branches found
No related tags found
1 merge request!210[Docker] Add celery as an extra to Dockerfile
Pipeline #1272 failed
......@@ -47,6 +47,7 @@ ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
# Install core extras
FROM core AS core-extras
ARG EXTRA_LDAP
ARG EXTRA_CELERY
WORKDIR /usr/src/app
# LDAP
......@@ -58,6 +59,11 @@ RUN if [ $EXTRA_LDAP = 1 ] ; then \
eatmydata poetry install -E ldap; \
fi;
# Celery
RUN if [ $EXTRA_CELERY = 1 ] ; then \
eatmydata poetry install -E celery; \
fi;
# Install official apps
FROM core-extras AS apps
COPY apps ./apps/
......
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