-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (21 loc) · 946 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM python:3.12.2-alpine
RUN apk add --no-cache --upgrade bash \
docker \
python3 \
py3-pip \
py3-wheel \
python3-dev \
linux-headers \
pcre-dev \
uwsgi-python3 \
build-base \
unzip \
wget
WORKDIR /opt
ARG VERSION=${VERSION}
RUN wget https://github.com/seatable/seatable-admin-docs/releases/download/seatable-python-runner-${VERSION}/seatable-python-runner-${VERSION}.zip
RUN unzip seatable-python-runner-${VERSION}.zip
COPY ./rootfs /
WORKDIR /opt/seatable-python-runner
RUN pip3 install -r server_requirements.txt
CMD ["./entrypoint.sh"]