First pass of Docker shit
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal 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" ]
|
||||
@ -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
7
docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
version: "3.8"
|
||||
services:
|
||||
lmgcitfy:
|
||||
build: .
|
||||
ports:
|
||||
- 127.0.0.1:5000:5000
|
||||
Reference in New Issue
Block a user