Commit d2c8d28 1 parent 7025b5b commit d2c8d28 Copy full SHA for d2c8d28
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
65
65
&& rm -rf /var/lib/apt/lists/*
66
66
67
67
WORKDIR /app
68
+
68
69
COPY ./backend/bin/docker_start.sh /start.sh
69
70
COPY ./backend/bin/celery_worker.sh /celery_worker.sh
70
71
COPY ./backend/bin/celery_beat.sh /celery_beat.sh
@@ -76,6 +77,7 @@ RUN mkdir -p /app/log /app/media /app/src/openarchiefbeheer/static/
76
77
# copy backend build deps
77
78
COPY --from=backend-build /usr/local/lib/python3.12 /usr/local/lib/python3.12
78
79
COPY --from=backend-build /usr/local/bin/uwsgi /usr/local/bin/uwsgi
80
+ COPY --from=backend-build /usr/local/bin/celery /usr/local/bin/celery
79
81
80
82
COPY ./backend/src /app/src
81
83
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ LOGLEVEL=${CELERY_LOGLEVEL:-INFO}
7
7
mkdir -p celerybeat
8
8
9
9
echo " Starting celery beat"
10
- exec celery beat \
11
- --app openarchiefbeheer \
10
+ exec celery --workdir src --app openarchiefbeheer.celery worker \
12
11
-l $LOGLEVEL \
13
- --workdir src \
14
12
-s ../celerybeat/beat
You can’t perform that action at this time.
0 commit comments