mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
9cb69cbd45
commit
86755503d2
1 changed files with 12 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
|
@ -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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue