11 lines
346 B
Docker
Raw Normal View History

2025-05-28 19:16:17 +08:00
FROM python:3.8.2-slim
ENV TZ Asia/Shanghai
ENV PATH /usr/local/bin:$PATH
WORKDIR /usr/local
RUN mkdir shipxy
COPY ./requirements.txt .
COPY shipxy ./shipxy
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple && cd shipxy && tar -zxvf static.tar.gz
EXPOSE 5000
WORKDIR /usr/local/shipxy
ENTRYPOINT [ "sh", "start.sh" ]