From f642bc167146630d095d03497763381e098591fd Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya Date: Tue, 26 Jan 2021 15:09:47 -0500 Subject: [PATCH] dockerizing CrucialNET --- Dockerfile | 3 +++ nginx.conf | 15 +++++++++++++++ {.well-known => public/.well-known}/keybase.txt | 0 {404 => public/404}/index.html | 0 {404 => public/404}/style.css | 0 {404 => public/404}/sword.png | Bin README.md => public/README.md | 0 .../android-chrome-192x192.png | Bin .../android-chrome-384x384.png | Bin .../apple-touch-icon.png | Bin browserconfig.xml => public/browserconfig.xml | 0 .../contact-me}/android-chrome-192x192.png | Bin .../contact-me}/android-chrome-384x384.png | Bin .../contact-me}/apple-touch-icon.png | Bin .../contact-me}/browserconfig.xml | 0 .../contact-me}/css/fonts/Gotham-Bold.otf | Bin .../css/fonts/SIL Open Font License.txt | 0 .../contact-me}/css/fonts/Sans-Thin.otf | Bin {contact-me => public/contact-me}/css/style.css | 0 .../contact-me}/favicon-16x16.png | Bin .../contact-me}/favicon-32x32.png | Bin {contact-me => public/contact-me}/favicon.ico | Bin {contact-me => public/contact-me}/index.html | 0 {contact-me => public/contact-me}/js/main.js | 0 .../contact-me}/mstile-150x150.png | Bin .../contact-me}/safari-pinned-tab.svg | 0 .../contact-me}/site.webmanifest | 0 {css => public/css}/fonts/Gotham-Bold.otf | Bin .../css}/fonts/Proxima Nova Alt Light.otf | Bin .../css}/fonts/SIL Open Font License.txt | 0 {css => public/css}/fonts/Sans-Thin.otf | Bin {css => public/css}/fonts/futura-pt-light.otf | Bin {css => public/css}/res/fb.png | Bin {css => public/css}/res/footer-background.jpg | Bin {css => public/css}/res/gplus.png | Bin {css => public/css}/res/header-background.jpg | Bin {css => public/css}/res/insta.png | Bin {css => public/css}/res/profile-photo.jpg | Bin {css => public/css}/res/profile-square.jpg | Bin {css => public/css}/res/schat.png | Bin {css => public/css}/res/twitter.png | Bin {css => public/css}/style.css | 0 favicon-16x16.png => public/favicon-16x16.png | Bin favicon-32x32.png => public/favicon-32x32.png | Bin favicon.ico => public/favicon.ico | Bin index.html => public/index.html | 0 {js => public/js}/main.js | 0 mstile-150x150.png => public/mstile-150x150.png | Bin {resume => public/resume}/resume.pdf | Bin .../safari-pinned-tab.svg | 0 site.webmanifest => public/site.webmanifest | 0 .../the-archives}/2018/12/22/index.html | 0 .../the-archives}/2019/01/05/index.html | 0 {the-archives => public/the-archives}/index.html | 0 .../the-archives}/post-template.html | 0 .../the-archives}/res/backgrounds/background.png | Bin .../res/backgrounds/header-background.jpg | Bin .../the-archives}/res/card-images/appdev.png | Bin .../the-archives}/res/card-images/fmu.PNG | Bin .../the-archives}/res/card-images/inbom.PNG | Bin .../the-archives}/res/fonts/Gotham-Bold.otf | Bin .../the-archives}/res/fonts/Sans-Thin.otf | Bin .../the-archives}/res/fonts/futura-pt-light.otf | Bin .../the-archives}/res/images/profile-photo.jpg | Bin .../the-archives}/res/images/profile-photo2.jpg | Bin .../the-archives}/res/images/profile-square.jpg | Bin .../res/posts/2019/01/05/header.png | Bin .../the-archives}/res/posts/poststyle.css | 0 .../the-archives}/res/style.css | 0 69 files changed, 18 insertions(+) create mode 100644 Dockerfile create mode 100644 nginx.conf rename {.well-known => public/.well-known}/keybase.txt (100%) rename {404 => public/404}/index.html (100%) rename {404 => public/404}/style.css (100%) rename {404 => public/404}/sword.png (100%) rename README.md => public/README.md (100%) rename android-chrome-192x192.png => public/android-chrome-192x192.png (100%) rename android-chrome-384x384.png => public/android-chrome-384x384.png (100%) rename apple-touch-icon.png => public/apple-touch-icon.png (100%) rename browserconfig.xml => public/browserconfig.xml (100%) rename {contact-me => public/contact-me}/android-chrome-192x192.png (100%) rename {contact-me => public/contact-me}/android-chrome-384x384.png (100%) rename {contact-me => public/contact-me}/apple-touch-icon.png (100%) rename {contact-me => public/contact-me}/browserconfig.xml (100%) rename {contact-me => public/contact-me}/css/fonts/Gotham-Bold.otf (100%) rename {contact-me => public/contact-me}/css/fonts/SIL Open Font License.txt (100%) rename {contact-me => public/contact-me}/css/fonts/Sans-Thin.otf (100%) rename {contact-me => public/contact-me}/css/style.css (100%) rename {contact-me => public/contact-me}/favicon-16x16.png (100%) rename {contact-me => public/contact-me}/favicon-32x32.png (100%) rename {contact-me => public/contact-me}/favicon.ico (100%) rename {contact-me => public/contact-me}/index.html (100%) rename {contact-me => public/contact-me}/js/main.js (100%) rename {contact-me => public/contact-me}/mstile-150x150.png (100%) rename {contact-me => public/contact-me}/safari-pinned-tab.svg (100%) rename {contact-me => public/contact-me}/site.webmanifest (100%) rename {css => public/css}/fonts/Gotham-Bold.otf (100%) rename {css => public/css}/fonts/Proxima Nova Alt Light.otf (100%) rename {css => public/css}/fonts/SIL Open Font License.txt (100%) rename {css => public/css}/fonts/Sans-Thin.otf (100%) rename {css => public/css}/fonts/futura-pt-light.otf (100%) rename {css => public/css}/res/fb.png (100%) rename {css => public/css}/res/footer-background.jpg (100%) rename {css => public/css}/res/gplus.png (100%) rename {css => public/css}/res/header-background.jpg (100%) rename {css => public/css}/res/insta.png (100%) rename {css => public/css}/res/profile-photo.jpg (100%) rename {css => public/css}/res/profile-square.jpg (100%) rename {css => public/css}/res/schat.png (100%) rename {css => public/css}/res/twitter.png (100%) rename {css => public/css}/style.css (100%) rename favicon-16x16.png => public/favicon-16x16.png (100%) rename favicon-32x32.png => public/favicon-32x32.png (100%) rename favicon.ico => public/favicon.ico (100%) rename index.html => public/index.html (100%) rename {js => public/js}/main.js (100%) rename mstile-150x150.png => public/mstile-150x150.png (100%) rename {resume => public/resume}/resume.pdf (100%) rename safari-pinned-tab.svg => public/safari-pinned-tab.svg (100%) rename site.webmanifest => public/site.webmanifest (100%) rename {the-archives => public/the-archives}/2018/12/22/index.html (100%) rename {the-archives => public/the-archives}/2019/01/05/index.html (100%) rename {the-archives => public/the-archives}/index.html (100%) rename {the-archives => public/the-archives}/post-template.html (100%) rename {the-archives => public/the-archives}/res/backgrounds/background.png (100%) rename {the-archives => public/the-archives}/res/backgrounds/header-background.jpg (100%) rename {the-archives => public/the-archives}/res/card-images/appdev.png (100%) rename {the-archives => public/the-archives}/res/card-images/fmu.PNG (100%) rename {the-archives => public/the-archives}/res/card-images/inbom.PNG (100%) rename {the-archives => public/the-archives}/res/fonts/Gotham-Bold.otf (100%) rename {the-archives => public/the-archives}/res/fonts/Sans-Thin.otf (100%) rename {the-archives => public/the-archives}/res/fonts/futura-pt-light.otf (100%) rename {the-archives => public/the-archives}/res/images/profile-photo.jpg (100%) rename {the-archives => public/the-archives}/res/images/profile-photo2.jpg (100%) rename {the-archives => public/the-archives}/res/images/profile-square.jpg (100%) rename {the-archives => public/the-archives}/res/posts/2019/01/05/header.png (100%) rename {the-archives => public/the-archives}/res/posts/poststyle.css (100%) rename {the-archives => public/the-archives}/res/style.css (100%) diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..31fd304 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +from nginx:alpine +COPY public/ /usr/share/nginx/html +ADD nginx.conf /etc/nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..c98215c --- /dev/null +++ b/nginx.conf @@ -0,0 +1,15 @@ +worker_processes 1; + +events { worker_connections 1024; } + +http { + #include mime.types; + sendfile on; + server { + root /usr/share/nginx/html/; + index index.html; + server_name localhost; + listen 80; + listen [::]:80; + } +} diff --git a/.well-known/keybase.txt b/public/.well-known/keybase.txt similarity index 100% rename from .well-known/keybase.txt rename to public/.well-known/keybase.txt diff --git a/404/index.html b/public/404/index.html similarity index 100% rename from 404/index.html rename to public/404/index.html diff --git a/404/style.css b/public/404/style.css similarity index 100% rename from 404/style.css rename to public/404/style.css diff --git a/404/sword.png b/public/404/sword.png similarity index 100% rename from 404/sword.png rename to public/404/sword.png diff --git a/README.md b/public/README.md similarity index 100% rename from README.md rename to public/README.md diff --git a/android-chrome-192x192.png b/public/android-chrome-192x192.png similarity index 100% rename from android-chrome-192x192.png rename to public/android-chrome-192x192.png diff --git a/android-chrome-384x384.png b/public/android-chrome-384x384.png similarity index 100% rename from android-chrome-384x384.png rename to public/android-chrome-384x384.png diff --git a/apple-touch-icon.png b/public/apple-touch-icon.png similarity index 100% rename from apple-touch-icon.png rename to public/apple-touch-icon.png diff --git a/browserconfig.xml b/public/browserconfig.xml similarity index 100% rename from browserconfig.xml rename to public/browserconfig.xml diff --git a/contact-me/android-chrome-192x192.png b/public/contact-me/android-chrome-192x192.png similarity index 100% rename from contact-me/android-chrome-192x192.png rename to public/contact-me/android-chrome-192x192.png diff --git a/contact-me/android-chrome-384x384.png b/public/contact-me/android-chrome-384x384.png similarity index 100% rename from contact-me/android-chrome-384x384.png rename to public/contact-me/android-chrome-384x384.png diff --git a/contact-me/apple-touch-icon.png b/public/contact-me/apple-touch-icon.png similarity index 100% rename from contact-me/apple-touch-icon.png rename to public/contact-me/apple-touch-icon.png diff --git a/contact-me/browserconfig.xml b/public/contact-me/browserconfig.xml similarity index 100% rename from contact-me/browserconfig.xml rename to public/contact-me/browserconfig.xml diff --git a/contact-me/css/fonts/Gotham-Bold.otf b/public/contact-me/css/fonts/Gotham-Bold.otf similarity index 100% rename from contact-me/css/fonts/Gotham-Bold.otf rename to public/contact-me/css/fonts/Gotham-Bold.otf diff --git a/contact-me/css/fonts/SIL Open Font License.txt b/public/contact-me/css/fonts/SIL Open Font License.txt similarity index 100% rename from contact-me/css/fonts/SIL Open Font License.txt rename to public/contact-me/css/fonts/SIL Open Font License.txt diff --git a/contact-me/css/fonts/Sans-Thin.otf b/public/contact-me/css/fonts/Sans-Thin.otf similarity index 100% rename from contact-me/css/fonts/Sans-Thin.otf rename to public/contact-me/css/fonts/Sans-Thin.otf diff --git a/contact-me/css/style.css b/public/contact-me/css/style.css similarity index 100% rename from contact-me/css/style.css rename to public/contact-me/css/style.css diff --git a/contact-me/favicon-16x16.png b/public/contact-me/favicon-16x16.png similarity index 100% rename from contact-me/favicon-16x16.png rename to public/contact-me/favicon-16x16.png diff --git a/contact-me/favicon-32x32.png b/public/contact-me/favicon-32x32.png similarity index 100% rename from contact-me/favicon-32x32.png rename to public/contact-me/favicon-32x32.png diff --git a/contact-me/favicon.ico b/public/contact-me/favicon.ico similarity index 100% rename from contact-me/favicon.ico rename to public/contact-me/favicon.ico diff --git a/contact-me/index.html b/public/contact-me/index.html similarity index 100% rename from contact-me/index.html rename to public/contact-me/index.html diff --git a/contact-me/js/main.js b/public/contact-me/js/main.js similarity index 100% rename from contact-me/js/main.js rename to public/contact-me/js/main.js diff --git a/contact-me/mstile-150x150.png b/public/contact-me/mstile-150x150.png similarity index 100% rename from contact-me/mstile-150x150.png rename to public/contact-me/mstile-150x150.png diff --git a/contact-me/safari-pinned-tab.svg b/public/contact-me/safari-pinned-tab.svg similarity index 100% rename from contact-me/safari-pinned-tab.svg rename to public/contact-me/safari-pinned-tab.svg diff --git a/contact-me/site.webmanifest b/public/contact-me/site.webmanifest similarity index 100% rename from contact-me/site.webmanifest rename to public/contact-me/site.webmanifest diff --git a/css/fonts/Gotham-Bold.otf b/public/css/fonts/Gotham-Bold.otf similarity index 100% rename from css/fonts/Gotham-Bold.otf rename to public/css/fonts/Gotham-Bold.otf diff --git a/css/fonts/Proxima Nova Alt Light.otf b/public/css/fonts/Proxima Nova Alt Light.otf similarity index 100% rename from css/fonts/Proxima Nova Alt Light.otf rename to public/css/fonts/Proxima Nova Alt Light.otf diff --git a/css/fonts/SIL Open Font License.txt b/public/css/fonts/SIL Open Font License.txt similarity index 100% rename from css/fonts/SIL Open Font License.txt rename to public/css/fonts/SIL Open Font License.txt diff --git a/css/fonts/Sans-Thin.otf b/public/css/fonts/Sans-Thin.otf similarity index 100% rename from css/fonts/Sans-Thin.otf rename to public/css/fonts/Sans-Thin.otf diff --git a/css/fonts/futura-pt-light.otf b/public/css/fonts/futura-pt-light.otf similarity index 100% rename from css/fonts/futura-pt-light.otf rename to public/css/fonts/futura-pt-light.otf diff --git a/css/res/fb.png b/public/css/res/fb.png similarity index 100% rename from css/res/fb.png rename to public/css/res/fb.png diff --git a/css/res/footer-background.jpg b/public/css/res/footer-background.jpg similarity index 100% rename from css/res/footer-background.jpg rename to public/css/res/footer-background.jpg diff --git a/css/res/gplus.png b/public/css/res/gplus.png similarity index 100% rename from css/res/gplus.png rename to public/css/res/gplus.png diff --git a/css/res/header-background.jpg b/public/css/res/header-background.jpg similarity index 100% rename from css/res/header-background.jpg rename to public/css/res/header-background.jpg diff --git a/css/res/insta.png b/public/css/res/insta.png similarity index 100% rename from css/res/insta.png rename to public/css/res/insta.png diff --git a/css/res/profile-photo.jpg b/public/css/res/profile-photo.jpg similarity index 100% rename from css/res/profile-photo.jpg rename to public/css/res/profile-photo.jpg diff --git a/css/res/profile-square.jpg b/public/css/res/profile-square.jpg similarity index 100% rename from css/res/profile-square.jpg rename to public/css/res/profile-square.jpg diff --git a/css/res/schat.png b/public/css/res/schat.png similarity index 100% rename from css/res/schat.png rename to public/css/res/schat.png diff --git a/css/res/twitter.png b/public/css/res/twitter.png similarity index 100% rename from css/res/twitter.png rename to public/css/res/twitter.png diff --git a/css/style.css b/public/css/style.css similarity index 100% rename from css/style.css rename to public/css/style.css diff --git a/favicon-16x16.png b/public/favicon-16x16.png similarity index 100% rename from favicon-16x16.png rename to public/favicon-16x16.png diff --git a/favicon-32x32.png b/public/favicon-32x32.png similarity index 100% rename from favicon-32x32.png rename to public/favicon-32x32.png diff --git a/favicon.ico b/public/favicon.ico similarity index 100% rename from favicon.ico rename to public/favicon.ico diff --git a/index.html b/public/index.html similarity index 100% rename from index.html rename to public/index.html diff --git a/js/main.js b/public/js/main.js similarity index 100% rename from js/main.js rename to public/js/main.js diff --git a/mstile-150x150.png b/public/mstile-150x150.png similarity index 100% rename from mstile-150x150.png rename to public/mstile-150x150.png diff --git a/resume/resume.pdf b/public/resume/resume.pdf similarity index 100% rename from resume/resume.pdf rename to public/resume/resume.pdf diff --git a/safari-pinned-tab.svg b/public/safari-pinned-tab.svg similarity index 100% rename from safari-pinned-tab.svg rename to public/safari-pinned-tab.svg diff --git a/site.webmanifest b/public/site.webmanifest similarity index 100% rename from site.webmanifest rename to public/site.webmanifest diff --git a/the-archives/2018/12/22/index.html b/public/the-archives/2018/12/22/index.html similarity index 100% rename from the-archives/2018/12/22/index.html rename to public/the-archives/2018/12/22/index.html diff --git a/the-archives/2019/01/05/index.html b/public/the-archives/2019/01/05/index.html similarity index 100% rename from the-archives/2019/01/05/index.html rename to public/the-archives/2019/01/05/index.html diff --git a/the-archives/index.html b/public/the-archives/index.html similarity index 100% rename from the-archives/index.html rename to public/the-archives/index.html diff --git a/the-archives/post-template.html b/public/the-archives/post-template.html similarity index 100% rename from the-archives/post-template.html rename to public/the-archives/post-template.html diff --git a/the-archives/res/backgrounds/background.png b/public/the-archives/res/backgrounds/background.png similarity index 100% rename from the-archives/res/backgrounds/background.png rename to public/the-archives/res/backgrounds/background.png diff --git a/the-archives/res/backgrounds/header-background.jpg b/public/the-archives/res/backgrounds/header-background.jpg similarity index 100% rename from the-archives/res/backgrounds/header-background.jpg rename to public/the-archives/res/backgrounds/header-background.jpg diff --git a/the-archives/res/card-images/appdev.png b/public/the-archives/res/card-images/appdev.png similarity index 100% rename from the-archives/res/card-images/appdev.png rename to public/the-archives/res/card-images/appdev.png diff --git a/the-archives/res/card-images/fmu.PNG b/public/the-archives/res/card-images/fmu.PNG similarity index 100% rename from the-archives/res/card-images/fmu.PNG rename to public/the-archives/res/card-images/fmu.PNG diff --git a/the-archives/res/card-images/inbom.PNG b/public/the-archives/res/card-images/inbom.PNG similarity index 100% rename from the-archives/res/card-images/inbom.PNG rename to public/the-archives/res/card-images/inbom.PNG diff --git a/the-archives/res/fonts/Gotham-Bold.otf b/public/the-archives/res/fonts/Gotham-Bold.otf similarity index 100% rename from the-archives/res/fonts/Gotham-Bold.otf rename to public/the-archives/res/fonts/Gotham-Bold.otf diff --git a/the-archives/res/fonts/Sans-Thin.otf b/public/the-archives/res/fonts/Sans-Thin.otf similarity index 100% rename from the-archives/res/fonts/Sans-Thin.otf rename to public/the-archives/res/fonts/Sans-Thin.otf diff --git a/the-archives/res/fonts/futura-pt-light.otf b/public/the-archives/res/fonts/futura-pt-light.otf similarity index 100% rename from the-archives/res/fonts/futura-pt-light.otf rename to public/the-archives/res/fonts/futura-pt-light.otf diff --git a/the-archives/res/images/profile-photo.jpg b/public/the-archives/res/images/profile-photo.jpg similarity index 100% rename from the-archives/res/images/profile-photo.jpg rename to public/the-archives/res/images/profile-photo.jpg diff --git a/the-archives/res/images/profile-photo2.jpg b/public/the-archives/res/images/profile-photo2.jpg similarity index 100% rename from the-archives/res/images/profile-photo2.jpg rename to public/the-archives/res/images/profile-photo2.jpg diff --git a/the-archives/res/images/profile-square.jpg b/public/the-archives/res/images/profile-square.jpg similarity index 100% rename from the-archives/res/images/profile-square.jpg rename to public/the-archives/res/images/profile-square.jpg diff --git a/the-archives/res/posts/2019/01/05/header.png b/public/the-archives/res/posts/2019/01/05/header.png similarity index 100% rename from the-archives/res/posts/2019/01/05/header.png rename to public/the-archives/res/posts/2019/01/05/header.png diff --git a/the-archives/res/posts/poststyle.css b/public/the-archives/res/posts/poststyle.css similarity index 100% rename from the-archives/res/posts/poststyle.css rename to public/the-archives/res/posts/poststyle.css diff --git a/the-archives/res/style.css b/public/the-archives/res/style.css similarity index 100% rename from the-archives/res/style.css rename to public/the-archives/res/style.css