strip git folder from builds
This commit is contained in:
parent
a8504e4846
commit
aa4ad62493
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ WORKDIR /usr/share/nginx/html
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN rm -rf .git
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue