From 6b2b1728b3c2eff4de5a2ba23aad2c9260f61d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BA=AE=E4=BA=AE?= Date: Wed, 24 Jul 2024 14:47:19 +0800 Subject: [PATCH] docker file --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bdaad34..fdb7e07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,6 @@ COPY static /apps/static COPY templates /apps/templates RUN chmod a+x /apps/md-view-go -RUN apt-get install curl -y # 拷贝配置文件到容器中 COPY config/application.yaml /apps/config/application.yaml @@ -28,4 +27,4 @@ ENV LANG C.UTF-8 # 暴露端口 EXPOSE 8081 -CMD ["/apps/md-view-go"] \ No newline at end of file +CMD ["apt instal curl -y && /apps/md-view-go"] \ No newline at end of file