houdini/Dockerfile

23 lines
685 B
Docker
Raw Normal View History

2020-04-19 22:45:29 +00:00
FROM python:3-alpine
ARG TARGETARCH
2020-04-19 22:45:29 +00:00
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.7.0
RUN ARCH=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-$ARCH-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-$ARCH-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-alpine-linux-$ARCH-$DOCKERIZE_VERSION.tar.gz
2020-04-19 22:45:29 +00:00
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
ENTRYPOINT [ "python", "./bootstrap.py" ]