3 Commits

Author SHA1 Message Date
44f63b49cb Change base to use alpine (#15)
* Change base to use alpine
* Add build requirements for node-gyp
* Specify python version
2022-05-14 08:17:09 +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 description=""
@@ -7,7 +7,10 @@ COPY ["package.json", "./"]
COPY ["yarn.lock", "./"]
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"]
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"
},
"devDependencies": {
"parcel": "^2.4.1"
"parcel": "^2.5.0"
},
"engines": {
"node": "^18.*"

1190
yarn.lock

File diff suppressed because it is too large Load Diff