1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00
AzurLaneAutoScript/deploy/docker/Dockerfile

19 lines
577 B
Docker
Raw Normal View History

# docker build -t hgjazhgj/alas:latest .
# docker run -v ${PWD}:/app/AzurLaneAutoScript -p 22267:22267 --name alas -it --rm hgjazhgj/alas
FROM python:3.7-slim
2021-11-26 18:59:00 +08:00
WORKDIR /app/AzurLaneAutoScript
COPY requirements.txt /tmp/requirements.txt
# Initial download of UiAutomator2 is slow outside of China using appetizer mirror, switch to GitHub
RUN apt update \
&& apt install -y git adb libgomp1 openssh-client \
&& git config --global --add safe.directory '*' \
&& pip install -r /tmp/requirements.txt \
&& rm /tmp/requirements.txt \
&& rm -r ~/.cache/pip
2022-06-22 08:25:34 +08:00
CMD python gui.py