1&2 stage worked
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM nginx:latest
|
||||
|
||||
ARG NET_NAME=kek
|
||||
ARG CONTAINER_NAME=lol
|
||||
ARG STATIC_FILE=/usr/share/nginx/html/index.html
|
||||
|
||||
|
||||
RUN sed -i '13,21d' $STATIC_FILE && \
|
||||
sed -i "13i <h2>$NET_NAME<br>$CONTAINER_NAME</h2>" $STATIC_FILE
|
||||
|
||||
Reference in New Issue
Block a user