mirror of
https://github.com/solero/houdini.git
synced 2024-11-08 20:28:20 +00:00
19 lines
612 B
Docker
19 lines
612 B
Docker
FROM python:3-alpine
|
|
|
|
RUN apk add openssl build-base openssl-dev libffi-dev redis postgresql-client
|
|
|
|
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
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
ENV server "login"
|
|
|
|
CMD ["sh", "-c", "python ./bootstrap.py ${server}"] |