5 Commits

Author SHA1 Message Date
4521ca2090 Specify python version 2022-05-14 08:14:38 +01:00
74e49ddde7 Add build requirements for node-gyp 2022-05-14 08:12:20 +01:00
f42e10156e Change base to use alpine 2022-05-14 08:09:01 +01:00
eedf36edaa Merge pull request #11 from Fluttershub/dependabot/npm_and_yarn/parcel-2.5.0
Bump parcel from 2.4.1 to 2.5.0
2022-04-22 08:07:05 +01:00
dependabot[bot]
cdbbd5d62b Bump parcel from 2.4.1 to 2.5.0
Bumps [parcel](https://github.com/parcel-bundler/parcel) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/parcel-bundler/parcel/releases)
- [Changelog](https://github.com/parcel-bundler/parcel/blob/v2/CHANGELOG.md)
- [Commits](https://github.com/parcel-bundler/parcel/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: parcel
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 07:00:32 +00:00
3 changed files with 392 additions and 807 deletions

View File

@@ -1,4 +1,4 @@
FROM node:18.0.0 AS base FROM node:18-alpine AS base
LABEL version="4.1.0" LABEL version="4.1.0"
LABEL description="" LABEL description=""
@@ -7,7 +7,10 @@ COPY ["package.json", "./"]
COPY ["yarn.lock", "./"] COPY ["yarn.lock", "./"]
FROM base AS builder FROM base AS builder
RUN yarn install RUN apk add --no-cache --virtual .gyp python3 make g++ \
&& yarn install \
&& apk del .gyp
COPY ["src/", "./src"] COPY ["src/", "./src"]
RUN npm run Prod RUN npm run Prod

2
package.json Executable file → Normal file
View File

@@ -17,7 +17,7 @@
"Prod": "npm run Cleanup && npm run Init && parcel build src/index.pug --dist-dir build" "Prod": "npm run Cleanup && npm run Init && parcel build src/index.pug --dist-dir build"
}, },
"devDependencies": { "devDependencies": {
"parcel": "^2.4.1" "parcel": "^2.5.0"
}, },
"engines": { "engines": {
"node": "^18.*" "node": "^18.*"

1190
yarn.lock

File diff suppressed because it is too large Load Diff