Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 62dcf35

Browse files
committed
Fix cert deploy
1 parent 9dfa80c commit 62dcf35

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ RUN chown -R codegate /var/lib/nginx && \
7676

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

79+
# Ensure directories are writable by the codegate user
80+
RUN mkdir -p /usr/share/nginx/html/certificates && \
81+
chown -R codegate /usr/share/nginx/html/certificates
82+
7983
# Switch to codegate user
8084
USER codegate
8185
WORKDIR /app

0 commit comments

Comments
 (0)