Browse Source

Update Dockerfile to avoid permission denied

pull/1310/head
Hironsan 3 years ago
parent
commit
bab7978ec3
1 changed files with 1 additions and 0 deletions
  1. 1
      Dockerfile

1
Dockerfile

@ -51,6 +51,7 @@ COPY --chown=doccano:doccano . /doccano
WORKDIR /doccano/backend
COPY --from=frontend-builder /frontend/dist /doccano/backend/client/dist
RUN python manage.py collectstatic --noinput
RUN chown -R doccano:doccano .
VOLUME /data
ENV DATABASE_URL="sqlite:////data/doccano.db"

Loading…
Cancel
Save