-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (28 loc) · 905 Bytes
/
Dockerfile
File metadata and controls
34 lines (28 loc) · 905 Bytes
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
31
32
33
34
FROM ponycool/alpine-3.16:latest
WORKDIR /autMan
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 \
&& ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2 \
&& apk add --no-cache libaio libnsl libc6-compat \
&& mkdir /app \
&& cd /app \
&& apk update \
&& apk add curl \
&& apk add jq \
&& apk add wget \
&& apk add tar \
&& apk add python3 \
&& apk add go \
&& apk add py3-pip \
&& apk add nodejs \
&& apk add npm \
&& apk add php php-cli php-fpm php-mysqli php-json php-openssl \
&& apk add icu-data-full
RUN pip3 install requests user_agent PyExecJS aiohttp -i https://pypi.tuna.tsinghua.edu.cn/simple \
&& npm install axios request require crypto-js hook -g
ADD . /app/autMan/
COPY ./docker-entrypoint.sh /bin/
RUN chmod a+x /bin/docker-entrypoint.sh \
&& apk add git \
&& apk add bash \
&& apk add ffmpeg
ENTRYPOINT ["/bin/docker-entrypoint.sh"]