Fix CI script

This commit is contained in:
s3lph 2021-09-28 00:51:01 +02:00
parent 9a5e2a0bfc
commit 195e5243a5

View file

@ -2,7 +2,7 @@
FROM python:3.9-alpine
ADD . /
RUN apk --update add build-base libffi libffi-dev rust \
RUN apk --update add build-base libffi libffi-dev rust cargo \
&& mkdir -p /var/lib/easywks \
&& chown 1000:0 -R /var/lib/easywks \
&& chmod 0700 /var/lib/easywks \
@ -10,7 +10,7 @@ RUN apk --update add build-base libffi libffi-dev rust \
&& mv /package/docker/entrypoint.sh /entrypoint.sh \
&& mv /package/docker/easywks.yml /etc/easywks.yml \
&& rm -rf /package \
&& apk del build-base libffi-dev rust
&& apk del build-base libffi-dev rust cargo
USER 1000