First pass of Docker shit

This commit is contained in:
The Shittinator
2026-02-22 19:43:11 -06:00
parent 342e5ce0d9
commit 2e1f52810e
3 changed files with 20 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -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" ]

View File

@ -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).

7
docker-compose.yml Normal file
View File

@ -0,0 +1,7 @@
---
version: "3.8"
services:
lmgcitfy:
build: .
ports:
- 127.0.0.1:5000:5000