2rss/Dockerfile

12 lines
250 B
Docker
Raw Permalink Normal View History

FROM python:3-slim
MAINTAINER Benjamin Bouvier <public@benj.me>
RUN mkdir /app
2017-12-30 18:04:00 +00:00
RUN apt update && \
apt install -y --force-yes libpq-dev build-essential
COPY . /app
2017-12-30 18:04:00 +00:00
WORKDIR /app
RUN pip install -r requirements.txt
CMD ["python", "/app/main.py"]