From 6e61442129edfda3e5af31c0630486c88a515d71 Mon Sep 17 00:00:00 2001 From: Ari Yeger Date: Thu, 3 Jul 2025 14:02:45 -0400 Subject: [PATCH] deploy main site with docker --- Dockerfile | 11 +++++++++++ static.json | 7 ------- 2 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 Dockerfile delete mode 100644 static.json diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5f61a72 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +# Use a lightweight nginx image +FROM nginx:alpine + +# Copy your static files into the nginx web directory +COPY . /usr/share/nginx/html + +# Expose the port nginx serves from +EXPOSE 80 + +# Start nginx +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/static.json b/static.json deleted file mode 100644 index ce399be..0000000 --- a/static.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "root": ".", - "clean_urls": false, - "routes": { - "/": "index.html" - } -}