diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..12bf6c7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:latest + +RUN apt-get update \ +&& apt-get install -y nginx \ +&& git clone https://gitea.ocer.cc/overcast404/ocer-cc.git \ +&& cd /ocer-cc \ +&& npm install + +CMD cd /ocer-cc \ +&& git pull \ +&& npm run build + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/index.html b/index.html index 50d8d04..243034d 100644 --- a/index.html +++ b/index.html @@ -8,11 +8,11 @@ />