Ver código fonte

更新 'chx/Dockerfile'

chenghongxi 4 anos atrás
pai
commit
e9d506806f
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      chx/Dockerfile

+ 5 - 1
chx/Dockerfile

@@ -1 +1,5 @@
-FROM centos
+FROM centos
+COPY hello_world.sh /usr/
+RUN chmod +x /usr/hello_world.sh
+WORKDIR /usr/
+CMD [ "sh", "hello_world.sh" ]