diff --git a/Dockerfile b/Dockerfile index 6ac8298c..f90f2a24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG PYTHON_VERSION="3.6" -FROM python:${PYTHON_VERSION} AS builder +FROM python:${PYTHON_VERSION}-stretch AS builder ARG NODE_VERSION="8.x" RUN curl -sL "https://deb.nodesource.com/setup_${NODE_VERSION}" | bash - \ @@ -27,7 +27,7 @@ RUN cd /doccano/app/server/static \ RUN cd /doccano \ && python app/manage.py collectstatic --noinput -FROM python:${PYTHON_VERSION}-slim AS runtime +FROM python:${PYTHON_VERSION}-slim-stretch AS runtime RUN useradd -ms /bin/sh doccano