2rss/Dockerfile

12 lines
259 B
Docker
Raw Normal View History

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