edit for sqlite path in docker volume
This commit is contained in:
1 parent
c27d9ee85f
commit
2b9caaf5fe
1 file changed
+2
-2
+2
-2
@@ -44,8 +44,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||
apt-get update && apt-get install -y --no-install-recommends \
|
||||
libpq5 \
|
||||
supervisor && \
|
||||
mkdir -p /app/staticfiles /app/static /app/mediafiles /etc/supervisor /var/log/supervisor && \
|
||||
chown -R django:django /app /etc/supervisor /var/log/supervisor
|
||||
mkdir -p /app/staticfiles /app/static /app/sqlite /app/mediafiles /etc/supervisor /var/log/supervisor && \
|
||||
chown -R django:django /app /app/sqlite /etc/supervisor /var/log/supervisor
|
||||
|
||||
# کپی کردن و واگذاری مالکیت محیط مجازی به کاربر django
|
||||
COPY --from=builder --chown=django:django /opt/venv /opt/venv
|
||||
|
||||
Reference in new issue
Block a user