28 Star 234 Fork 71

几颗酥/simple-admin-core

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
Dockerfile-rpc 558 Bytes
Copy Edit Raw Blame History
FROM alpine:3.20
# Define the project name | 定义项目名称
ARG PROJECT=core
# Define the config file name | 定义配置文件名
ARG CONFIG_FILE=core.yaml
# Define the author | 定义作者
ARG AUTHOR="yuansu.china.work@gmail.com"
LABEL org.opencontainers.image.authors=${AUTHOR}
WORKDIR /app
ENV PROJECT=${PROJECT}
ENV CONFIG_FILE=${CONFIG_FILE}
ENV TZ=Asia/Shanghai
RUN apk update --no-cache && apk add --no-cache tzdata
COPY ./${PROJECT}_rpc ./
COPY ./rpc/etc/${CONFIG_FILE} ./etc/
EXPOSE 9101
ENTRYPOINT ["./core_rpc", "-f", "etc/core.yaml"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/hopefire/simple-admin-core.git
git@gitee.com:hopefire/simple-admin-core.git
hopefire
simple-admin-core
simple-admin-core
main

Search