fixbug
This commit is contained in:
parent
b427d649b6
commit
a36aed000b
|
|
@ -5,7 +5,7 @@ ENV PATH "/app/bin:$PATH"
|
||||||
RUN python3 -mvenv /app
|
RUN python3 -mvenv /app
|
||||||
RUN wget https://github.com/beancount/beancount/archive/refs/tags/2.3.5.tar.gz
|
RUN wget https://github.com/beancount/beancount/archive/refs/tags/2.3.5.tar.gz
|
||||||
RUN tar -zxvf 2.3.5.tar.gz
|
RUN tar -zxvf 2.3.5.tar.gz
|
||||||
RUN python3 -m pip install ./beancount-2.3.5 -i https://mirrors.aliyun.com/pypi/simple/
|
RUN python3 -m pip install ./beancount-2.3.5
|
||||||
RUN find /app -name __pycache__ -exec rm -rf -v {} +
|
RUN find /app -name __pycache__ -exec rm -rf -v {} +
|
||||||
|
|
||||||
# 构建 beancount-gs
|
# 构建 beancount-gs
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@ func main() {
|
||||||
// gin 日志设置
|
// gin 日志设置
|
||||||
gin.DisableConsoleColor()
|
gin.DisableConsoleColor()
|
||||||
fs, _ := os.Create("logs/gin.log")
|
fs, _ := os.Create("logs/gin.log")
|
||||||
gin.DefaultWriter = io.MultiWriter(fs)
|
gin.DefaultWriter = io.MultiWriter(fs, os.Stdout)
|
||||||
router := gin.Default()
|
router := gin.Default()
|
||||||
// 注册路由
|
// 注册路由
|
||||||
RegisterRouter(router)
|
RegisterRouter(router)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue