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