Files
courses/bsawf/16-accepting-recurring-payments/Dockerfile
T
2025-05-20 11:57:43 -04:00

19 lines
448 B
Docker

FROM python:3.7.5-slim-buster
MAINTAINER Nick Janetakis <nick.janetakis@gmail.com>
RUN apt-get update && apt-get install -qq -y \
build-essential libpq-dev --no-install-recommends
ENV INSTALL_PATH /snakeeyes
RUN mkdir -p $INSTALL_PATH
WORKDIR $INSTALL_PATH
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY . .
RUN pip install --editable .
CMD gunicorn -c "python:config.gunicorn" "snakeeyes.app:create_app()"