Dockerized, updated
parent
1883f2f0bc
commit
58f8bd0bdf
|
@ -1,4 +1,3 @@
|
||||||
_site/
|
_site/
|
||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
**/*.bak
|
||||||
.c9/
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
FROM node:lts
|
||||||
|
WORKDIR /app
|
||||||
|
COPY package*.json ./
|
||||||
|
RUN npm install
|
||||||
|
COPY . .
|
||||||
|
EXPOSE 8080
|
||||||
|
ENTRYPOINT ["npm", "run", "--"]
|
|
@ -0,0 +1,8 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
build:
|
||||||
|
build: .
|
||||||
|
command: build
|
||||||
|
volumes:
|
||||||
|
- "./_src:/app/_src:ro"
|
||||||
|
- "./_site:/app/_site:rw"
|
File diff suppressed because it is too large
Load Diff
|
@ -4,15 +4,12 @@
|
||||||
"description": "Public website for Galactic Fortress 4",
|
"description": "Public website for Galactic Fortress 4",
|
||||||
"repository": "https://gitea.ksn.gf4/gf4/www",
|
"repository": "https://gitea.ksn.gf4/gf4/www",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npx @11ty/eleventy && rsync -a _src/assets/ _site/assets/",
|
"build": "node_modules/@11ty/eleventy/cmd.js --quiet",
|
||||||
"watch": "npx @11ty/eleventy --watch",
|
"start": "node_modules/@11ty/eleventy/cmd.js --quiet --serve"
|
||||||
"serve": "npx @11ty/eleventy --serve",
|
|
||||||
"start": "npx @11ty/eleventy --serve --watch",
|
|
||||||
"debug": "DEBUG=* eleventy"
|
|
||||||
},
|
},
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@11ty/eleventy": "^1.0.2",
|
"@11ty/eleventy": "^2.0.1",
|
||||||
"luxon": "^1.26.0",
|
"luxon": "^1.26.0",
|
||||||
"markdown-it": "^12.0.4",
|
"markdown-it": "^12.0.4",
|
||||||
"markdown-it-anchor": "^7.1.0"
|
"markdown-it-anchor": "^7.1.0"
|
||||||
|
|
Loading…
Reference in New Issue