Explorar o código

更新 'chx/Dockerfile'

chenghongxi %!s(int64=4) %!d(string=hai) anos
pai
achega
e9d506806f
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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" ]