Ver código fonte

update Dockerfile.

xdc 5 anos atrás
pai
commit
2b47ebe671
1 arquivos alterados com 14 adições e 0 exclusões
  1. 14 0
      Dockerfile

+ 14 - 0
Dockerfile

@@ -36,6 +36,20 @@ yum install -y awslogs
 # 把需要用到的文件都cp 到当前目录
 
 
+FROM amazonlinux
+RUN yum install -y wget \
+    && yum install -y e2fsprogs
+WORKDIR /
+COPY conf.toml /conf.toml
+COPY server /server
+COPY ent.sh /ent.sh
+RUN chmod 777 /ent.sh
+ENTRYPOINT ["/ent.sh"]
+
+
+## COPY 
+# 把需要用到的文件都cp 到当前目录
+
 
 FROM amazonlinux
 WORKDIR /