We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d2d730 commit f5d56f3Copy full SHA for f5d56f3
api/celery_worker/Dockerfile
@@ -21,7 +21,8 @@ COPY . /app
21
RUN pip install --no-cache-dir -r requirements.txt
22
23
# Change ownership of the app directory
24
-RUN chown -R celery_user:celery_user /app /tmp/pip_cache
+# Create the pip cache directory explicitly
25
+RUN mkdir -p /tmp/pip_cache && chown -R celery_user:celery_user /app /tmp/pip_cache
26
27
# Set the user to non-root
28
USER celery_user
0 commit comments