mirror of
https://github.com/solero/houdini.git
synced 2024-11-23 05:57:23 +00:00
5738b82863
change the python version to 3.11.3
23 lines
669 B
Docker
23 lines
669 B
Docker
FROM python:3.11.3-alpine
|
|
ARG TARGETARCH
|
|
|
|
RUN apk add \
|
|
openssl \
|
|
build-base \
|
|
openssl-dev \
|
|
libffi-dev \
|
|
redis \
|
|
postgresql-client
|
|
|
|
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-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
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
ENTRYPOINT [ "python", "./bootstrap.py" ]
|