datasette publish uses python:3.8 base Docker image, closes #629

This commit is contained in:
Simon Willison 2019-11-11 22:03:09 -08:00 committed by GitHub
commit d977fbadf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -306,7 +306,7 @@ def make_dockerfile(
install = ["datasette"] + list(install)
return """
FROM python:3.6
FROM python:3.8
COPY . /app
WORKDIR /app
{spatialite_extras}

View file

@ -128,7 +128,7 @@ def test_publish_cloudrun_plugin_secrets(mock_call, mock_output, mock_which):
.split("\n====================\n")[0]
.strip()
)
expected = """FROM python:3.6
expected = """FROM python:3.8
COPY . /app
WORKDIR /app

View file

@ -138,7 +138,7 @@ def test_publish_now_plugin_secrets(mock_run, mock_which):
.split("\n====================\n")[0]
.strip()
)
expected = """FROM python:3.6
expected = """FROM python:3.8
COPY . /app
WORKDIR /app