ling / Dockerfile
luoyutianyang's picture
Update Dockerfile
2c1ea53
FROM debian
# 设置时区
ENV TZ Asia/Shanghai
# 设置工作目录
WORKDIR /app
# 复制文件到工作目录
COPY bin /app/bin
COPY lib /app/lib
COPY txlib /app/txlib
COPY app /app/app
# 设置命令
RUN chmod -R 777 /tmp
RUN chmod -R 777 /app
# 安装依赖
RUN apt update
RUN apt install jq -y
RUN apt install curl -y
RUN apt install procps -y
RUN apt install openjdk-17-jdk -y
# 暴露端口
EXPOSE 7860
# 运行
CMD bash app