chg :dev: use arg

This commit is contained in:
rachmadaniHaryono 2021-02-19 18:15:43 +08:00
parent 3121f5550b
commit f5da901195

View File

@ -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] \