Fix CI script

This commit is contained in:
s3lph 2021-09-28 00:45:51 +02:00
parent 6be590cf78
commit 9a5e2a0bfc

View file

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