fix: stuff
This commit is contained in:
@@ -1,21 +1,16 @@
|
||||
# .dockerignore
|
||||
|
||||
# Git files
|
||||
.git
|
||||
.gitignore
|
||||
|
||||
# Docker files should not be in the build context
|
||||
Dockerfile
|
||||
|
||||
# Node.js dependencies are installed inside the container
|
||||
node_modules
|
||||
npm-debug.log*
|
||||
|
||||
# Build output is generated inside the container
|
||||
_site
|
||||
|
||||
# VS Code configuration
|
||||
.vscode
|
||||
|
||||
# Documentation / Readmes
|
||||
*.md
|
||||
*.md
|
||||
.env
|
@@ -56,7 +56,7 @@ RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
# Add a healthcheck to ensure the container is running correctly.
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
|
||||
CMD ["su-exec", "node", "healthcheck.js"]
|
||||
CMD ["node", "healthcheck.js"]
|
||||
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
CMD ["node", "server.js"]
|
||||
|
19
package.json
19
package.json
@@ -5,30 +5,31 @@
|
||||
"scripts": {
|
||||
"build:css": "tailwindcss -i ./src/css/input.css -o ./src/css/style.css --minify",
|
||||
"watch:css": "tailwindcss -i ./src/css/input.css -o ./src/css/style.css --watch",
|
||||
"start": "npm-run-all -p serve watch:css",
|
||||
"start": "npm-run-all -p serve watch:css dev:api",
|
||||
"serve": "eleventy --serve",
|
||||
"debug": "npm-run-all -p debug:eleventy watch:css",
|
||||
"debug": "npm-run-all -p debug:eleventy watch:css dev:api",
|
||||
"debug:eleventy": "node --inspect=0.0.0.0:9229 ./node_modules/.bin/eleventy --serve --watch",
|
||||
"dev:api": "node --watch server.js",
|
||||
"build": "npm run build:css && eleventy"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@11ty/eleventy": "^3.1.2",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.2",
|
||||
"async-mutex": "^0.5.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.21.2",
|
||||
"express-rate-limit": "^8.0.1",
|
||||
"fs-extra": "^11.3.1",
|
||||
"luxon": "^3.7.1"
|
||||
"@11ty/eleventy": "^3.1.2",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.2",
|
||||
"luxon": "^3.7.1",
|
||||
"tailwindcss": "^3.4.3",
|
||||
"postcss": "^8.4.38",
|
||||
"autoprefixer": "^10.4.19"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.19",
|
||||
"http-proxy-middleware": "^3.0.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss": "^8.4.38",
|
||||
"tailwindcss": "^3.4.3"
|
||||
"npm-run-all": "^4.1.5"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user