Skip to content

Commit

Permalink
chore: 测试 Github action for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
tianxiu2b2t committed Dec 26, 2024
1 parent d84f823 commit 4858c68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.1ms.run/library/python:3.12
FROM python:3.12

LABEL org.opencontainers.image.url https://python-openbmclapi.ttb-network.top/
LABEL org.opencontainers.image.source https://github.com/TTB-Network/python-openbmclapi
Expand All @@ -9,7 +9,6 @@ LABEL org.opencontainers.image.title python-openbmclapi
WORKDIR /opt/python-openbmclapi
ADD . .

RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
RUN pip install -r requirements.txt
EXPOSE 6543
CMD ["python", "./main.py"]

0 comments on commit 4858c68

Please sign in to comment.