-
Notifications
You must be signed in to change notification settings - Fork 134
/
Dockerfile
24 lines (17 loc) · 956 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
FROM ubuntu:latest
RUN apt-get update && apt-get install -y python3 python3-pip
WORKDIR /scripter
COPY ailice/__init__.py /scripter/ailice/__init__.py
COPY ailice/common/__init__.py /scripter/ailice/common/__init__.py
COPY ailice/common/ADataType.py /scripter/ailice/common/ADataType.py
COPY ailice/common/lightRPC.py /scripter/ailice/common/lightRPC.py
COPY ailice/modules/__init__.py /scripter/ailice/modules/__init__.py
COPY ailice/modules/AScripter.py /scripter/ailice/modules/AScripter.py
COPY ailice/modules/AScrollablePage.py /scripter/ailice/modules/AScrollablePage.py
RUN PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install pillow
RUN PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install requests
RUN PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install numpy
RUN PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install pyzmq
RUN PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install av
EXPOSE 59000-59200
CMD ["python3", "-m", "ailice.modules.AScripter", "--incontainer", "--addr=tcp://0.0.0.0:59000"]