chg :dev: use arg
This commit is contained in:
parent
3121f5550b
commit
f5da901195
@ -6,13 +6,15 @@ ENV BUKUSERVER_PORT=5001
|
|||||||
|
|
||||||
COPY . /buku
|
COPY . /buku
|
||||||
|
|
||||||
|
ARG CRYPTOGRAPHY_DONT_BUILD_RUST=1
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
gcc \
|
gcc \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
musl-dev \
|
musl-dev \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
&& CRYPTOGRAPHY_DONT_BUILD_RUST=1 pip install -U --no-cache-dir \
|
&& pip install -U --no-cache-dir \
|
||||||
pip \
|
pip \
|
||||||
gunicorn \
|
gunicorn \
|
||||||
/buku[server] \
|
/buku[server] \
|
||||||
|
Loading…
Reference in New Issue
Block a user