Skip to content

Commit f5d56f3

Browse files
committed
attempding pre-install 2
1 parent 8d2d730 commit f5d56f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/celery_worker/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ COPY . /app
2121
RUN pip install --no-cache-dir -r requirements.txt
2222

2323
# Change ownership of the app directory
24-
RUN chown -R celery_user:celery_user /app /tmp/pip_cache
24+
# Create the pip cache directory explicitly
25+
RUN mkdir -p /tmp/pip_cache && chown -R celery_user:celery_user /app /tmp/pip_cache
2526

2627
# Set the user to non-root
2728
USER celery_user

0 commit comments

Comments
 (0)