docker file
This commit is contained in:
parent
fa0eb9ffc8
commit
6b2b1728b3
|
@ -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"]
|
||||
CMD ["apt instal curl -y && /apps/md-view-go"]
|
Loading…
Reference in New Issue