Skip to content

Commit 3d819fc

Browse files
authored
rm not needed because of .dockerignore
1 parent 2c9fb57 commit 3d819fc

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ COPY ./nginx.conf /etc/nginx/nginx.conf
2222
# Copy static site
2323
COPY source/ /usr/share/nginx/html/
2424

25-
# Remove .git from public exposure
26-
RUN rm -rf /usr/share/nginx/html/.git
27-
2825
EXPOSE 80
2926

3027
# Health check with curl (available since 1.18.0)

0 commit comments

Comments
 (0)