datasette/Dockerfile
Simon Willison 1592fd0419 Started work on cli, which also meant adding setup.py
I'm using click, and click recommends using a setup.py - so I've added one of
those. I also refactored code into a new datasite package. It's not quite
deploying to now properly at the moment though - I seem to have messed up the
path handling a bit.

Also snuck in a new template for the "Row" view.

Refs #40
2017-10-27 00:08:24 -07:00

7 lines
132 B
Docker

FROM python:3
COPY . /app
WORKDIR /app
RUN pip install .
RUN datasite build
EXPOSE 8006
CMD ["datasite", "serve", "--port", "8006"]