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
ARG CRYPTOGRAPHY_DONT_BUILD_RUST=1
RUN set -ex \
&& apk add --no-cache --virtual .build-deps \
gcc \
openssl-dev \
musl-dev \
libffi-dev \
&& CRYPTOGRAPHY_DONT_BUILD_RUST=1 pip install -U --no-cache-dir \
&& pip install -U --no-cache-dir \
pip \
gunicorn \
/buku[server] \