houdini/Dockerfile

21 lines
608 B
Docker
Raw Permalink Normal View History

2020-04-19 22:45:29 +00:00
FROM python:3-alpine
2020-05-07 01:26:56 +00:00
RUN apk add \
openssl \
build-base \
openssl-dev \
libffi-dev \
redis \
postgresql-client
2020-04-19 22:45:29 +00:00
2020-04-26 00:28:32 +00:00
WORKDIR /usr/src/houdini
ENV DOCKERIZE_VERSION v0.6.1
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
2020-04-19 22:45:29 +00:00
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
2020-05-07 01:26:56 +00:00
ENTRYPOINT [ "python", "./bootstrap.py" ]