Python 3.7.2 as base for Docker image

pull/364/merge
Simon Willison 2019-01-13 15:33:50 -08:00
rodzic a418c8b44f
commit 7950105c27
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
FROM python:3.6-slim-stretch as build
FROM python:3.7.2-slim-stretch as build
# Setup build dependencies
RUN apt update \
@ -27,7 +27,7 @@ COPY . /datasette
RUN pip install /datasette
FROM python:3.6-slim-stretch
FROM python:3.7.2-slim-stretch
# Copy python dependencies and spatialite libraries
COPY --from=build /usr/local/lib/ /usr/local/lib/