Skip to content

Commit 79932ed

Browse files
authored
Merge pull request doccano#290 from CatalystCode/bugfix/python-stretch
Bugfix/Pin Python base image to Debian stretch
2 parents 50c7078 + f29e4a1 commit 79932ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PYTHON_VERSION="3.6"
2-
FROM python:${PYTHON_VERSION} AS builder
2+
FROM python:${PYTHON_VERSION}-stretch AS builder
33

44
ARG NODE_VERSION="8.x"
55
RUN curl -sL "https://deb.nodesource.com/setup_${NODE_VERSION}" | bash - \
@@ -27,7 +27,7 @@ RUN cd /doccano/app/server/static \
2727
RUN cd /doccano \
2828
&& python app/manage.py collectstatic --noinput
2929

30-
FROM python:${PYTHON_VERSION}-slim AS runtime
30+
FROM python:${PYTHON_VERSION}-slim-stretch AS runtime
3131

3232
RUN useradd -ms /bin/sh doccano
3333

0 commit comments

Comments
 (0)