Compare commits
4 Commits
npm-update
...
test-alpin
| Author | SHA1 | Date | |
|---|---|---|---|
| 4a24127ff5 | |||
| e4d4fcb5e5 | |||
| 631e93be1b | |||
| 57f8dbbec1 |
4
.github/workflows/snyk-container.yml
vendored
4
.github/workflows/snyk-container.yml
vendored
@@ -14,9 +14,13 @@
|
|||||||
name: Snyk Container
|
name: Snyk Container
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
schedule:
|
||||||
|
- cron: '18 21 * * 3'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
FROM node:18.10.0 AS base
|
FROM node:18.6-alpine AS base
|
||||||
LABEL version="4.1.0"
|
LABEL version="4.1.0"
|
||||||
LABEL description=""
|
LABEL description=""
|
||||||
|
|
||||||
RUN apt-get update && apt-get upgrade -y \
|
RUN apk --update --no-cache upgrade
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY ["package.json", "./"]
|
COPY ["package.json", "./"]
|
||||||
@@ -14,7 +13,7 @@ RUN yarn install
|
|||||||
COPY ["src/", "./src"]
|
COPY ["src/", "./src"]
|
||||||
RUN npm run Prod
|
RUN npm run Prod
|
||||||
|
|
||||||
FROM nginx:1.23.1-alpine as Web
|
FROM nginx:1.23.0-alpine as Web
|
||||||
|
|
||||||
RUN apk --update --no-cache upgrade
|
RUN apk --update --no-cache upgrade
|
||||||
|
|
||||||
|
|||||||
11
package.json
11
package.json
@@ -7,7 +7,7 @@
|
|||||||
"author": "HotaruBlaze",
|
"author": "HotaruBlaze",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git@github.com:Fluttershub/Homepage.git"
|
"url": "git@github.com:github/Fluttershub.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinit": "npx npm-force-resolutions",
|
"preinit": "npx npm-force-resolutions",
|
||||||
@@ -17,9 +17,12 @@
|
|||||||
"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/transformer-pug": "2.7.0",
|
"@parcel/transformer-pug": "2.6.2",
|
||||||
"@parcel/transformer-sass": "2.7.0",
|
"@parcel/transformer-sass": "2.6.2",
|
||||||
"parcel": "^2.7.0"
|
"parcel": "^2.6.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^18.*"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"node-forge": "0.10.0"
|
"node-forge": "0.10.0"
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ html(lang='en')
|
|||||||
a.standard_text.text-flicker-2(href="https://twitter.com/HotaruBlaze") Twitter
|
a.standard_text.text-flicker-2(href="https://twitter.com/HotaruBlaze") Twitter
|
||||||
a.standard_text.text-flicker-2(href="https://github.com/HotaruBlaze") Github
|
a.standard_text.text-flicker-2(href="https://github.com/HotaruBlaze") Github
|
||||||
a.standard_text.text-flicker-2(href="https://gitlab.com/HotaruBlaze") Gitlab
|
a.standard_text.text-flicker-2(href="https://gitlab.com/HotaruBlaze") Gitlab
|
||||||
a.standard_text.text-flicker-2(href="mailto:hotarublaze@gmail.com") Email
|
|
||||||
footer.standard_text.footer-slide
|
footer.standard_text.footer-slide
|
||||||
.creator
|
.creator
|
||||||
a.build_text(href="https://www.youtube.com/watch?v=5DWFZhAVI3s") Cookie?
|
a.build_text(href="https://www.youtube.com/watch?v=5DWFZhAVI3s") Cookie?
|
||||||
|
|||||||
Reference in New Issue
Block a user