datasette/Dockerfile
Simon Willison 97bcd41f33 Row values endpoint using libmagic
Not yet complete. Refs #3
2017-10-25 08:05:17 -07:00

12 lines
265 B
Docker

FROM python:3
RUN apt-get update && apt-get install -y --no-install-recommends \
libmagic-dev \
&& rm -rf /var/lib/apt/lists/*
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
RUN python app.py --build
EXPOSE 8006
CMD ["python", "app.py"]