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
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ main ]
|
||||
schedule:
|
||||
- cron: '18 21 * * 3'
|
||||
|
||||
permissions:
|
||||
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 description=""
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN apk --update --no-cache upgrade
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY ["package.json", "./"]
|
||||
@@ -14,7 +13,7 @@ RUN yarn install
|
||||
COPY ["src/", "./src"]
|
||||
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
|
||||
|
||||
|
||||
11
package.json
11
package.json
@@ -7,7 +7,7 @@
|
||||
"author": "HotaruBlaze",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:Fluttershub/Homepage.git"
|
||||
"url": "git@github.com:github/Fluttershub.git"
|
||||
},
|
||||
"scripts": {
|
||||
"preinit": "npx npm-force-resolutions",
|
||||
@@ -17,9 +17,12 @@
|
||||
"Prod": "npm run Cleanup && npm run Init && parcel build src/index.pug --dist-dir build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@parcel/transformer-pug": "2.7.0",
|
||||
"@parcel/transformer-sass": "2.7.0",
|
||||
"parcel": "^2.7.0"
|
||||
"@parcel/transformer-pug": "2.6.2",
|
||||
"@parcel/transformer-sass": "2.6.2",
|
||||
"parcel": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.*"
|
||||
},
|
||||
"resolutions": {
|
||||
"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://github.com/HotaruBlaze") Github
|
||||
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
|
||||
.creator
|
||||
a.build_text(href="https://www.youtube.com/watch?v=5DWFZhAVI3s") Cookie?
|
||||
|
||||
Reference in New Issue
Block a user