Skip to content

Commit

Permalink
create cache directory and set correct permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
unixfox authored Dec 27, 2024
1 parent d53d10b commit c8dc14c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ ENV PORT=8282 \
# Copy passwd file for the non-privileged user from the user-stage
COPY --from=user-stage /etc/passwd /etc/passwd

# Create cache directory and set correct permissions
RUN mkdir -p /var/tmp/youtubei.js \
&& chown -R appuser /var/tmp/youtubei.js

# Set the working directory
WORKDIR /app

Expand Down

0 comments on commit c8dc14c

Please sign in to comment.