houdini/Dockerfile

23 lines
669 B
Docker
Raw Permalink Normal View History

FROM python:3.11.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
2023-08-27 11:01:56 +00:00
RUN ARCH=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-$ARCH-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-linux-$ARCH-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-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" ]