Fix CI script
This commit is contained in:
parent
8c5fd78364
commit
6be590cf78
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue