Skip to content

Commit

Permalink
Fix cert deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehinds committed Dec 14, 2024
1 parent 9dfa80c commit 62dcf35
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 @@ -76,6 +76,10 @@ RUN chown -R codegate /var/lib/nginx && \

COPY nginx.conf /etc/nginx/conf.d/default.conf

# Ensure directories are writable by the codegate user
RUN mkdir -p /usr/share/nginx/html/certificates && \
chown -R codegate /usr/share/nginx/html/certificates

# Switch to codegate user
USER codegate
WORKDIR /app
Expand Down

0 comments on commit 62dcf35

Please sign in to comment.