Fix CI script

This commit is contained in:
s3lph 2021-09-28 00:30:42 +02:00
parent 8c5fd78364
commit 6be590cf78

View file

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