Browse Source

move later to copy files in Dockerfile.prod

pull/1431/head
youichiro 3 years ago
parent
commit
197d17182c
1 changed files with 2 additions and 1 deletions
  1. 3
      backend/Dockerfile.prod

3
backend/Dockerfile.prod

@ -11,7 +11,6 @@ ENV PYTHONUNBUFFERED 1
RUN groupadd -g 61000 doccano \
&& useradd -g 61000 -l -M -s /bin/false -u 61000 doccano
COPY --chown=doccano:doccano ./backend/ /backend/
COPY --chown=doccano:doccano ./Pipfile* /backend/
# hadolint ignore=DL3013
@ -33,6 +32,8 @@ RUN mkdir -p /backend/staticfiles \
&& mkdir -p /backend/media \
&& chown -R doccano:doccano /backend/
COPY --chown=doccano:doccano ./backend/ /backend/
USER doccano:doccano
VOLUME /backend/staticfiles

Loading…
Cancel
Save