From 2e1f52810ecb72d7b20da44982cf6131dd5254cf Mon Sep 17 00:00:00 2001 From: The Shittinator <26260585-shittinator@users.noreply.gitlab.com> Date: Sun, 22 Feb 2026 19:43:11 -0600 Subject: [PATCH] First pass of Docker shit --- Dockerfile | 8 ++++++++ README.md | 5 +++++ docker-compose.yml | 7 +++++++ 3 files changed, 20 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3ed41df --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +# +# LMGCITFY Dockerfile +# +FROM docker.io/library/node:22 AS prod +RUN npm install && \ + npm run build +EXPOSE 5000 +ENTRYPOINT [ "npm", "run", "start" ] diff --git a/README.md b/README.md index 337fa64..b29c65e 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,11 @@ > [!important] > This is a fork of the upstream service by Matty of NiceCrew.digital, available at https://gitea.nicecrew.digital/matty/lmgcitfy +> +> Changes to this GCI-branded fork are mostly to containerize it and automate builds: +> * Added GitLab CI +> * Added Dockerfile +> * Added docker-compose Useful for people who can't be fucked to just search for it on [GunCAD Index](https://guncadindex.com). diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..99c227d --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +--- +version: "3.8" +services: + lmgcitfy: + build: . + ports: + - 127.0.0.1:5000:5000