feat: add Dockerfile

This commit is contained in:
Stefan Imhoff
2024-04-03 21:30:32 +02:00
parent 34872a6cc7
commit 13c60ae64c
3 changed files with 1056 additions and 944 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM --platform=linux/amd64 node:lts
RUN npm install -g http-server
RUN npm install -g pnpm
WORKDIR /app
COPY package*.json pnpm-*.yaml ./
RUN pnpm install
COPY . .
RUN pnpm run build
EXPOSE 8080
CMD [ "http-server", "dist" ]

View File

@@ -35,6 +35,7 @@
"devDependencies": { "devDependencies": {
"@11ty/eleventy": "1.0.1", "@11ty/eleventy": "1.0.1",
"@babel/core": "^7.14.6", "@babel/core": "^7.14.6",
"@babel/preset-env": "^7.24.4",
"autoprefixer": "^10.2.5", "autoprefixer": "^10.2.5",
"babelify": "^10.0.0", "babelify": "^10.0.0",
"browserify": "^17.0.0", "browserify": "^17.0.0",
@@ -53,6 +54,7 @@
"gulp-sourcemaps": "^3.0.0", "gulp-sourcemaps": "^3.0.0",
"gulp-svg-sprite": "^1.5.0", "gulp-svg-sprite": "^1.5.0",
"html-minifier": "^4.0.0", "html-minifier": "^4.0.0",
"markdown-it": "^14.1.0",
"markdown-it-external-anchor": "^1.0.0", "markdown-it-external-anchor": "^1.0.0",
"markdown-it-github-headings": "^2.0.0", "markdown-it-github-headings": "^2.0.0",
"moment": "^2.29.1", "moment": "^2.29.1",

1981
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff