adding echo pod container
This commit is contained in:
13
echo-pod/Dockerfile
Normal file
13
echo-pod/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY ./html /usr/share/nginx/html
|
||||
|
||||
COPY pod_name.sh /usr/local/bin/pod_name.sh
|
||||
|
||||
RUN chmod +x /usr/local/bin/pod_name.sh
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/pod_name.sh" ]
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon_off;"]
|
||||
Reference in New Issue
Block a user