Dockerized, updated

master
Keith Irwin 2023-03-29 00:29:20 -06:00
parent 1883f2f0bc
commit 58f8bd0bdf
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
6 changed files with 4207 additions and 8 deletions

3
.gitignore vendored
View File

@ -1,4 +1,3 @@
_site/
node_modules/
package-lock.json
.c9/
**/*.bak

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM node:lts
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
ENTRYPOINT ["npm", "run", "--"]

8
docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
version: "3"
services:
build:
build: .
command: build
volumes:
- "./_src:/app/_src:ro"
- "./_site:/app/_site:rw"

4188
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -4,15 +4,12 @@
"description": "Public website for Galactic Fortress 4",
"repository": "https://gitea.ksn.gf4/gf4/www",
"scripts": {
"build": "npx @11ty/eleventy && rsync -a _src/assets/ _site/assets/",
"watch": "npx @11ty/eleventy --watch",
"serve": "npx @11ty/eleventy --serve",
"start": "npx @11ty/eleventy --serve --watch",
"debug": "DEBUG=* eleventy"
"build": "node_modules/@11ty/eleventy/cmd.js --quiet",
"start": "node_modules/@11ty/eleventy/cmd.js --quiet --serve"
},
"license": "UNLICENSED",
"devDependencies": {
"@11ty/eleventy": "^1.0.2",
"@11ty/eleventy": "^2.0.1",
"luxon": "^1.26.0",
"markdown-it": "^12.0.4",
"markdown-it-anchor": "^7.1.0"