Dockerized, updated
parent
1883f2f0bc
commit
58f8bd0bdf
|
@ -1,4 +1,3 @@
|
|||
_site/
|
||||
node_modules/
|
||||
package-lock.json
|
||||
.c9/
|
||||
**/*.bak
|
||||
|
|
|
@ -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",
|
||||
"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"
|
||||
|
|
Loading…
Reference in New Issue