Skip to content

Commit

Permalink
Dockerfile Created - for Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayank Kholia committed Jul 12, 2020
1 parent 1804335 commit 073fc7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM nginx
RUN apt update
RUN apt install git -y
RUN git clone https://github.com/mayankkholia/mayankkholia.github.io.git
RUN cp -r mayankkholia.github.io/* /usr/share/nginx/html
CMD sed -i "s/80/$PORT/g" /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'

0 comments on commit 073fc7d

Please sign in to comment.