diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..8bfc47d2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.6 as build + +ARG VERSION=0.11 +RUN pip install datasette==$VERSION + +FROM python:3.6-slim + +COPY --from=build /usr/local/lib/python3.6/site-packages /usr/local/lib/python3.6/site-packages +COPY --from=build /usr/local/bin /usr/local/bin + +EXPOSE 8001 +CMD ["datasette"]