File size: 439 Bytes
2c1ea53
87f6ff7
 
 
 
 
 
 
 
 
 
 
67a6ed9
87f6ff7
 
 
 
 
67a6ed9
 
 
 
 
 
87f6ff7
 
67a6ed9
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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