Newer
Older
FROM python:3.6-alpine
ENV PYTHONUNBUFFERED 1
ENV DJANGO_DEV 1
RUN apk add --no-cache nodejs
RUN apk add --no-cache postgresql-dev
RUN apk add --no-cache gcc
RUN apk add --no-cache python3-dev
RUN apk add --no-cache musl-dev
RUN apk add --no-cache libgcrypt-dev
RUN apk add --no-cache libxslt-dev
RUN apk add --no-cache bash
RUN npm install yarn -g
RUN mkdir /code
ADD requirements.txt /code/
ADD . /code/
WORKDIR /code
RUN pip install -r requirements.txt
RUN yarn