You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
504 B

FROM python:3-alpine
MAINTAINER Jeffrey Forman <>
RUN apk add --no-cache nsd build-base python3-dev libffi-dev openssl-dev libc-dev libxslt-dev mariadb-connector-c-dev \
&& pip install --upgrade pip
COPY requirements.txt /code/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /code/
RUN ["python", "", "makemigrations", "binder"]
RUN ["python", "", "migrate"]
CMD ["python", "", "runserver", ""]