mirror of
https://gitee.com/Zhaoxin59/my-chat_-server.git
synced 2026-02-13 17:11:48 +08:00
update
This commit is contained in:
16
transmite/dockerfile
Normal file
16
transmite/dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
# 声明基础经镜像来源
|
||||
FROM debian:12
|
||||
|
||||
# 声明工作目录
|
||||
WORKDIR /im
|
||||
RUN mkdir -p /im/logs &&\
|
||||
mkdir -p /im/data &&\
|
||||
mkdir -p /im/conf &&\
|
||||
mkdir -p /im/bin
|
||||
|
||||
# 将可执行程序依赖,拷贝进镜像
|
||||
COPY ./build/transmite_server /im/bin/
|
||||
# 将可执行程序文件,拷贝进镜像
|
||||
COPY ./depends /lib/x86_64-linux-gnu/
|
||||
# 设置容器启动的默认操作 ---运行程序
|
||||
CMD /im/bin/transmite_server -flagfile=/im/conf/transmite_server.conf
|
||||
Reference in New Issue
Block a user