Skip to content

Commit a46d8fc

Browse files
authored
Merge pull request #26 from janumiko/janumiko/dockerfile
[fix] add missing dir creation and permissions in dockerfile
2 parents 488d004 + 4478706 commit a46d8fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ RUN mv data/docker_config.yml data/config.yml
2121
# Copy the uv binary into the container
2222
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
2323

24-
# Create cache directory for uv and set permissions
24+
# Create cache and local directories for uv and set permissions
2525
RUN mkdir -p /home/appuser/.cache/uv && \
26-
chown -R appuser:appuser /home/appuser/.cache
26+
mkdir -p /home/appuser/.local/share/uv && \
27+
chown -R appuser:appuser /home/appuser
2728

2829
# Set ownership of the working directory to the non-root user
2930
RUN chown -R appuser:appuser /app

0 commit comments

Comments
 (0)