Parcourir la source

更新 'chx/Dockerfile'

chenghongxi il y a 4 ans
Parent
commit
e9d506806f
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  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" ]