Supervisor update 2

This commit is contained in:
hayano
2024-10-29 00:56:12 +00:00
parent a6b816c9f2
commit b872f377b2
11 changed files with 61 additions and 9 deletions

View File

@ -13,6 +13,15 @@ RUN mkdir -p /usr/share/nginx/html \
COPY supervisor/html/* /usr/share/nginx/html/
COPY supervisor/nginx/default.conf /etc/nginx/conf.d/default.conf
# メディアディレクトリを作成
RUN mkdir -p /app/media && chmod 755 /app/media
# 静的ファイルをコピー
#COPY ./static /usr/share/nginx/html/static
# 権限の設定
RUN chown -R nginx:nginx /app/media
# Set final permissions
RUN chown -R nginx:nginx /usr/share/nginx/html \
&& chmod -R 755 /usr/share/nginx/html \