Skip to content

Commit f5513cf

Browse files
committed
Dockerfile example | Copy custom file into Image at build time.
1 parent 4449af2 commit f5513cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02-Dockerfile-Copy-File-To-Image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
FROM nginx:latest
44

5-
WORKDIR /usr/share/nginx/html
65
# change working directory to root of nginx webhost
76
# using WORKDIR is preferred to using 'RUN cd /some/path'
7+
WORKDIR /usr/share/nginx/html
88

99
COPY index.html index.html
1010

0 commit comments

Comments
 (0)