mirror of
https://github.com/solero/houdini.git
synced 2024-11-09 20:58:20 +00:00
Update Dockerfile
This commit is contained in:
parent
b709b5b583
commit
8a6391c871
14
Dockerfile
14
Dockerfile
@ -1,6 +1,12 @@
|
|||||||
FROM python:3-alpine
|
FROM python:3-alpine
|
||||||
|
|
||||||
RUN apk add openssl build-base openssl-dev libffi-dev redis postgresql-client
|
RUN apk add \
|
||||||
|
openssl \
|
||||||
|
build-base \
|
||||||
|
openssl-dev \
|
||||||
|
libffi-dev \
|
||||||
|
redis \
|
||||||
|
postgresql-client
|
||||||
|
|
||||||
WORKDIR /usr/src/houdini
|
WORKDIR /usr/src/houdini
|
||||||
|
|
||||||
@ -12,8 +18,4 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
|
|||||||
COPY requirements.txt ./
|
COPY requirements.txt ./
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
ENTRYPOINT [ "python", "./bootstrap.py" ]
|
||||||
|
|
||||||
ENV server "login"
|
|
||||||
|
|
||||||
CMD ["sh", "-c", "python ./bootstrap.py ${server}"]
|
|
Loading…
Reference in New Issue
Block a user