Skip to content

Commit

Permalink
Update custom w/ Master (#18)
Browse files Browse the repository at this point in the history
* 💙 Makes author list

* 💛 Updates repo diagram

* Update new pricing policy of Heroku

* 📝 Updates hyperlink to dashboard-icons

* 🐳 Temp remove Azure Registry from Docker build

* fix: upgrade simple-icons from 7.17.0 to 7.19.0

Snyk has created this PR to upgrade simple-icons from 7.17.0 to 7.19.0.

See this package in npm:


See this project in Snyk:
https://app.snyk.io/org/lissy93/project/564ca11b-8665-48b8-befa-ccd607c3e09a?utm_source=github&utm_medium=referral&page=upgrade-pr

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* ✨ Adds update support to image widget (Lissy93#992)

* ✨ Adds support for dimensions on Image Widget

* ✨ Improved update support for iframe widget, plus shows loader (Lissy93#992)

* 📄 Adds docs for image widget dimensions

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* 🌐 Added cs locale

* Bumped version

* Added import statement for json with translations

* 🔖 Keep at 2.1.1

* 💙 Makes author list

* 💛 Updates repo diagram

* Updated manifest's start_url to bare root path

* Adding Guest translations

* 🌐 correct and complete de locale

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Makes author list

* 💛 Updates repo diagram

* Added Widget for drone.io

* Added info for Drone Widget

* Allow multiple Project Keys for HealthChecks

* Possible to translate footer now.

Signed-off-by: DimitriDR <[email protected]>

* XKCD: Use tooltip for alt text

* Localizable strings for the App Info page

Signed-off-by: DimitriDR <[email protected]>

* Updated localization. Fixed my own bug...

* New Window + update support

* Adding error messages and splash screen.

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* Use `drone-io` in config and minor doc improvement for drone-io

* WIP: updated drone

* Rename DroneIo to DroneCi

Drone CI is the current term used for the Build System (or just Drone,
which is a bit to unspecific for identification)

* Add update function for DroneCi Widget

* updated Format and allow single repo listing

* Added skipped icon, use correct status

* Added Mvg Widget

Display mvg departure times for MVG station.

* Solve background image resize

* 💙 Updates contributor SVG

* 💙 Makes author list

* 🐛 Add trailing slash to quick fix Lissy93#1064

* Add trailing slash to switch-view-buttons on Workspace sidebar. This prevents a bug when later using switch view buttons on Default/Minimal view switchers.

* 🐛 Serve index.html as fallback to fix Lissy93#1067

* Update fr.json

Added missing character

* Added authentication to Pi-Hole widgets

* Remove trailing space

* Added productId to the endpoint and improved docs

* Update healthcheck to 5s timeout

* Update health-check to support SSL properly

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* Added mvg connection + doc updates

* Fixed deepscan analysis warnings

* Fix CodeSonar warnings

* Fixed as suggested

* Fix HealthChecks linting errors

* Correct config export removing leading space

* added: new language (Turkish).

* 🤖 Update version of Contributor workflow

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Makes author list

* 💛 Updates repo diagram

* 👷 update update-authors action

* 💜 Updates contributors list

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* ⬆️ Upgrade Keycloak-js dependency

* 🩹 Allow Keycloak authentication to pass 'IdP Hint'

* add App Config option for 'IdP Hint' under Keycloak Authentication
* refactor the authentication trigger mechanism to allow direct call
  to keyjclaok-js adapter login() function
* remove `onLoad` from construction options (as it belongs to init())

* 📝 Add documentation for 'appConfig.auth.keycloak.idpHint' option.

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* fix: upgrade vue-select from 3.18.3 to 3.20.2

Snyk has created this PR to upgrade vue-select from 3.18.3 to 3.20.2.

See this package in npm:


See this project in Snyk:
https://app.snyk.io/org/lissy93/project/564ca11b-8665-48b8-befa-ccd607c3e09a?utm_source=github&utm_medium=referral&page=upgrade-pr

* Added linkding widget

* 📝Add new language (Bengali)

* Added documentation

* 📝 Adds stats

* 💜 Updates contributors list

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* 🚨 Fix lint error (single quotes) in MvgConnection widget

* 📝 Adds missing languages to readme, sorts alphabetically

* 🚚 Sorts languages alphabetically, by code

* 🌐 Adds Bengali (thanks @Soaibuzzaman 🙌 Lissy93#1107)

* 🌐 Adds Turkish (thanks @imsakg  🙌 Lissy93#1188)

* Update zh-CN.json

* 🌐 Credits @imsakg for Turkish translations (Lissy93#1088)

* 🔄 Re-run CI builds

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* 🚨 Fix lint warn, single quotes in clock

* 🚨 Fix lint warn, indentation in Mvg widget

* 🐛 Fix most-used / last-used storage (Lissy93#1056, Lissy93#1033)

* 📌 Updates yarn.lock dependency pins

* 🚧 Temporarily removes GHCR

* 🚧 Temp removes GHCR + ACR

* 🔧 Re-enable GHCR Docker Push

* 🐛 Updates the endpoint for currency flags (Lissy93#1096)

* 📝 Fixes incorrect value, for enableServiceWorker

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* Update fr.json

* Update fr.json

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Makes author list

* 💛 Updates repo diagram

* Update GlancesMixin.js

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 👽️ Updates path to currency-flag assets

Data fetched from: https://github.com/Lissy93/currency-flags

* 💜 Updates contributors list

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* 💙 Makes author list

* 💛 Updates repo diagram

* Tweak GlCpuTemp widget to support other sensor units

The current code assumes all sensors report temperature, when in fact glances' sensor plugin also reports rpm (eg fan speeds) and percentages (eg batteries).

Changes:

 * Add support for percentages
 * Add support for rpm

Note: this widget should really be called something like `GlSensors`, but I haven't been able to easily find a way of renaming it without breaking people's existing configs and workflows.

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* 💙 Makes author list

* 💛 Updates repo diagram

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* Add in rss parsing library and option to use it instead of the API

* Bump version

* 🔖 Keep at 2.1.1

* 📝 Fix link to Healthcheck Status widget

* 🤖 Automation to mirror to CodeBerg

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* Add support searching multiple words.

* Fixing issues raised by SonarCloud

* swapping incorrect icons

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Makes author list

* 💛 Updates repo diagram

* Update node version in package.json

* get the correct tooltip for subitem

* ✨ Permit users to choose Celsius or Fahrenheit.

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* 🤖 Increase stale time, from 30 to 90 days

Less annoying notification

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

* 💜 Updates contributors list

* 💛 Updates sponsors table

* 💙 Updates contributor SVG

* 💙 Makes author list

* 💛 Updates repo diagram

---------

Signed-off-by: DimitriDR <[email protected]>
Co-authored-by: Alicia Bot <[email protected]>
Co-authored-by: repo-visualizer <[email protected]>
Co-authored-by: jrobles98 <[email protected]>
Co-authored-by: Alicia Sykes <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: liss-bot <[email protected]>
Co-authored-by: Tuzi555 <[email protected]>
Co-authored-by: Kieran Eglin <[email protected]>
Co-authored-by: Dylan-Bs <[email protected]>
Co-authored-by: Alexander Mnich <[email protected]>
Co-authored-by: Matthias Bilger <[email protected]>
Co-authored-by: DimitriDR <[email protected]>
Co-authored-by: BySempron <[email protected]>
Co-authored-by: itsmejoeeey <[email protected]>
Co-authored-by: kxenox <[email protected]>
Co-authored-by: Alberto Caravaca <[email protected]>
Co-authored-by: rtm516 <[email protected]>
Co-authored-by: Mert Sefa AKGUN <[email protected]>
Co-authored-by: Sergio <[email protected]>
Co-authored-by: Marcell Fülöp <[email protected]>
Co-authored-by: soaibsafi <[email protected]>
Co-authored-by: zcq100 <[email protected]>
Co-authored-by: EVOTk <[email protected]>
Co-authored-by: poisonadder7 <[email protected]>
Co-authored-by: Luis Pabon <[email protected]>
Co-authored-by: hockeymikey <[email protected]>
Co-authored-by: ssrangisetti <[email protected]>
Co-authored-by: ssrangisetti <[email protected]>
Co-authored-by: Garrett Brown <[email protected]>
Co-authored-by: baifengheixi <[email protected]>
Co-authored-by: huangshaohuai <[email protected]>
Co-authored-by: Chris Nielsen <[email protected]>
  • Loading branch information
1 parent fa61b96 commit 1144141
Show file tree
Hide file tree
Showing 97 changed files with 7,039 additions and 1,642 deletions.
139 changes: 92 additions & 47 deletions .github/AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -1,82 +1,127 @@
0n1cOn3 <[email protected]> - 1 commits
Alberto <[email protected]> - 1 commits
Alicia <[email protected]> - 1 commits
Artyom <[email protected]> - 1 commits
BRAVO68WEB <[email protected]> - 1 commits
Begin <[email protected]> - 1 commits
Bjorn Lammers <[email protected]> - 1 commits
Bumsoo Kim <[email protected]> - 1 commits
BySempron <[email protected]> - 1 commits
Chris Nielsen <[email protected]> - 1 commits
David <[email protected]> - 1 commits
DeepSource <o> - 1 commits
Devin <uh> - 1 commits
Doug <oc> - 1 commits
Erwan <ira> - 1 commits
Dawid Pietrykowski <[email protected]> - 1 commits
DeepSource Bot <[email protected]> - 1 commits
Desmond Kyeremeh <[email protected]> - 1 commits
Devin Buhl <[email protected]> - 1 commits
Doug Lock <[email protected]> - 1 commits
Dylan-Bs <[email protected]> - 1 commits
Erwan Miran <[email protected]> - 1 commits
FormatToday <[email protected]> - 1 commits
Iaroslav <ronski> - 1 commits
Ishan <ai> - 1 commits
Jemy <CHNEP> - 1 commits
Jeremy <hauvi> - 1 commits
Kieren <onnel> - 1 commits
Leonardo <olma> - 1 commits
M <seno> - 1 commits
Markus <raus> - 1 commits
Garrett Brown <[email protected]> - 1 commits
Ian Neal <[email protected]> - 1 commits
Iaroslav Dronskii <[email protected]> - 1 commits
Ishan Jain <[email protected]> - 1 commits
Jemy SCHNEPP <[email protected]> - 1 commits
Jeremy Chauvin <[email protected]> - 1 commits
Kieran Eglin <[email protected]> - 1 commits
Kieren Connell <[email protected]> - 1 commits
Leonardo Colman Lopes <[email protected]> - 1 commits
Luis Pabon <[email protected]> - 1 commits
M Asenov <[email protected]> - 1 commits
Markus Krause <[email protected]> - 1 commits
Maxime Moreillon <[email protected]> - 1 commits
Mert Sefa AKGUN <[email protected]> - 1 commits
Michael <[email protected]> - 1 commits
PlusaN <[email protected]> - 1 commits
Rune <jørnerå> - 1 commits
Ryan <urne> - 1 commits
Shreya <o> - 1 commits
Prince Carl Velasco <[email protected]> - 1 commits
Rune Bjørnerås <[email protected]> - 1 commits
Ryan Turner <[email protected]> - 1 commits
Rúben Silva <[email protected]> - 1 commits
Sergio <[email protected]> - 1 commits
Shreya Roy <[email protected]> - 1 commits
Singebob <[email protected]> - 1 commits
Steffen <chmid> - 1 commits
Steven <as> - 1 commits
Smexhy <[email protected]> - 1 commits
Steffen Schmidt <[email protected]> - 1 commits
Steven Kast <[email protected]> - 1 commits
Xert <[email protected]> - 1 commits
akash5474 <akash5474@users.noreply.github.com> - 1 commits
baifengheixi <98794233+baifengheixi@users.noreply.github.com> - 1 commits
deepsource-io[bot] <deepsource-io[bot]@users.noreply.github.com> - 1 commits
dr460nf1r3 <[email protected]> - 1 commits
flechaig <[email protected]> - 1 commits
huangshaohuai <[email protected]> - 1 commits
icy-comet <[email protected]> - 1 commits
imlonghao <[email protected]> - 1 commits
jnach <[email protected]> - 1 commits
jrobles98 <[email protected]> - 1 commits
kxenox <[email protected]> - 1 commits
laker j.v <[email protected]> - 1 commits
pablomalo <[email protected]> - 1 commits
poisonadder7 <[email protected]> - 1 commits
rtm516 <[email protected]> - 1 commits
soaibsafi <[email protected]> - 1 commits
ssrangisetti <[email protected]> - 1 commits
ssrangisetti <[email protected]> - 1 commits
sur1v <[email protected]> - 1 commits
tazboyz16 <[email protected]> - 1 commits
zcq100 <[email protected]> - 1 commits
Alejandro <ina> - 2 commits
Alessandro <e> - 2 commits
zcq100 <[email protected]> - 1 commits
Ángel Fernández Sánchez <[email protected]> - 1 commits
Alejandro Pinar Ruiz <[email protected]> - 2 commits
Alessandro Del Prete <[email protected]> - 2 commits
Alexander Mnich <[email protected]> - 2 commits
BOZG <[email protected]> - 2 commits
Brendan <&#39;Lear> - 2 commits
CHAIYEON <H> - 2 commits
Dan <ilber> - 2 commits
Ruben <ilv> - 2 commits
Brendan O&#39;Leary <[email protected]> - 2 commits
CHAIYEON CHO <[email protected]> - 2 commits
Dan Gilbert <[email protected]> - 2 commits
Ruben Silva <[email protected]> - 2 commits
Thomas Dissert <[email protected]> - 2 commits
cauterize <[email protected]> - 2 commits
hockeymikey <[email protected]> - 2 commits
itsmejoeeey <[email protected]> - 2 commits
k073l <[email protected]> - 2 commits
liss-bot <[email protected]> - 2 commits
patrickheeney <[email protected]> - 2 commits
ᗪєνιη <υн> - 2 commits
rtm516 <[email protected]> - 2 commits
ᗪєνιη ᗷυнʟ <[email protected]> - 2 commits
Alucarddelta <[email protected]> - 3 commits
Tuzi555 <[email protected]> - 3 commits
Walkx <[email protected]> - 3 commits
aterox <[email protected]> - 3 commits
bogyeong <[email protected]> - 3 commits
stanly0726 <[email protected]> - 3 commits
David Alasow <[email protected]> - 4 commits
DimitriDR <[email protected]> - 4 commits
Lissy93 <[email protected]> - 4 commits
Niklas <abe> - 4 commits
Rémy <RANDI> - 4 commits
Niklas Zabel <[email protected]> - 4 commits
Rémy GRANDIN <[email protected]> - 4 commits
Totto16 <[email protected]> - 4 commits
Walkx <[email protected]> - 4 commits
Alberto Caravaca <[email protected]> - 5 commits
Alicie <[email protected]> - 5 commits
Benjamin <ontgomer> - 5 commits
Benjamin Montgomery <[email protected]> - 5 commits
UrekD <[email protected]> - 5 commits
akash5474 <[email protected]> - 5 commits
Erik <roo> - 6 commits
Erik Vroon <[email protected]> - 6 commits
Jammo2k5 <[email protected]> - 6 commits
Leonardo <ovarrubia> - 6 commits
Leonardo Covarrubias <[email protected]> - 6 commits
Magnus Sundström <[email protected]> - 6 commits
kristian <[email protected]> - 6 commits
liss-bot <[email protected]> - 6 commits
Kashif <ohai> - 9 commits
Alejandro <ina> - 14 commits
Alicia <yke> - 16 commits
Kashif Sohail <[email protected]> - 9 commits
Alejandro Pinar Ruiz <[email protected]> - 14 commits
Alicia Sykes <&#x3D;> - 16 commits
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> - 16 commits
snyk-bot <[email protected]> - 18 commits
Matthias Bilger <[email protected]> - 19 commits
aterox <[email protected]> - 19 commits
EVOTk <[email protected]> - 22 commits
Marcell <ülö> - 24 commits
Akash <ann> - 25 commits
Alicia <yke> - 28 commits
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> - 41 commits
repo-visualizer <[email protected]> - 46 commits
snyk-bot <[email protected]> - 46 commits
EVOTk <[email protected]> - 24 commits
Marcell Fülöp <[email protected]> - 27 commits
Alicia Sykes <[email protected]> - 28 commits
Lissy93 <[email protected]> - 78 commits
Alicia <o> - 90 commits
liss-bot <[email protected]> - 106 commits
Alicia <yke> - 180 commits
Lissy93 <[email protected]> - 208 commits
Alicia <yke> - 440 commits
Alicia <yke> - 1488 commits
snyk-bot <[email protected]> - 79 commits
repo-visualizer <[email protected]> - 88 commits
Alicia Bot <[email protected]> - 165 commits
liss-bot <[email protected]> - 171 commits
Lissy93 <[email protected]> - 209 commits
Alicia Sykes <[email protected]> - 307 commits
Alicia Sykes <[email protected]> - 440 commits
Alicia Sykes <[email protected]> - 1488 commits
6 changes: 3 additions & 3 deletions .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
uses: actions/stale@v4
with:
repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-stale: 90
days-before-close: 5
operations-per-run: 30
remove-stale-when-updated: true
enable-statistics: true
stale-issue-message: >
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below.
This issue has gone 3 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below.
Otherwise it will be closed in 5 working days.
stale-pr-message: >
This PR is stale because it has been open 6 weeks with no activity. Either remove the stale label or comment below with a short update,
Expand Down Expand Up @@ -76,4 +76,4 @@ jobs:
close-issue-label: '🕸️ Inactive'
close-pr-label: '🕸️ Inactive'
exempt-issue-labels: '📌 Keep Open'
exempt-pr-labels: '📌 Keep Open'
exempt-pr-labels: '📌 Keep Open'
14 changes: 7 additions & 7 deletions .github/workflows/docker-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
images: |
${{ env.DH_IMAGE }}
ghcr.io/${{ env.GH_IMAGE }}
${{ secrets.ACR_SERVER }}/${{ secrets.ACR_USERNAME }}
# ${{ secrets.ACR_SERVER }}/${{ secrets.ACR_USERNAME }}
tags: |
type=ref,event=tag,prefix=release-,suffix={{tag}}
type=semver,pattern={{raw}},value=${{ steps.package-version.outputs.version }}
Expand Down Expand Up @@ -74,12 +74,12 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: 🔑 Login to Azure Container Registry
uses: docker/login-action@v1
with:
registry: ${{ secrets.ACR_SERVER }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
# - name: 🔑 Login to Azure Container Registry
# uses: docker/login-action@v1
# with:
# registry: ${{ secrets.ACR_SERVER }}
# username: ${{ secrets.ACR_USERNAME }}
# password: ${{ secrets.ACR_PASSWORD }}

- name: 🚦 Check Registry Status
uses: crazy-max/ghaction-docker-status@v1
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/generate-credits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@ jobs:
runs-on: ubuntu-latest
name: Inserts contributors into credits.md
steps:
- name: Contribute List - Credits Page
uses: akhilmhdh/contributors-readme-action@v2.2
- name: Contributer List - Credits Page
uses: akhilmhdh/contributors-readme-action@v2.3.6
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
with:
image_size: 80
readme_path: docs/credits.md
columns_per_row: 6
commit_message: ':purple_heart: Updates contributors list'
collaborators: all
committer_username: liss-bot
committer_email: [email protected]
- name: Sponsors List - Readme
Expand All @@ -72,7 +73,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wow-actions/update-authors@v1
- uses: wow-actions/update-authors@v1.1.4
with:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
sort: commits
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Pushes the contents of the repo to the Codeberg mirror
name: 🪞 Mirror to Codeberg
on:
workflow_dispatch:
schedule:
- cron: '30 3 * * 0' # At 03:30 on Sunday
jobs:
codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with: { fetch-depth: 0 }
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: [email protected]:alicia/dashy.git
ssh_private_key: ${{ secrets.CODEBERG_SSH }}
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN yarn install --frozen-lockfile --network-timeout 1000000
COPY . ./

# Build initial app for production
RUN yarn build
RUN yarn build --mode production

# Production stage
FROM node:16.13.2-alpine
Expand All @@ -35,20 +35,19 @@ ENV PORT=80 \
# Create and set the working directory
WORKDIR ${DIRECTORY}

# Install tini for initialization and tzdata for setting timezone
RUN apk add --no-cache tzdata tini
# Update tzdata for setting timezone
RUN apk add --no-cache tzdata

# Copy built application from build phase
COPY --from=BUILD_IMAGE /app ./
# Ensure only one version of conf.yml exists
RUN rm dist/conf.yml

# Finally, run start command to serve up the built application
ENTRYPOINT [ "/sbin/tini", "--" ]
CMD [ "yarn", "build-and-start" ]
CMD [ "yarn", "start" ]

# Expose the port
EXPOSE ${PORT}

# Run simple healthchecks every 5 mins, to check that everythings still great
HEALTHCHECK --interval=5m --timeout=2s --start-period=30s CMD yarn health-check
HEALTHCHECK --interval=5m --timeout=5s --start-period=30s CMD yarn health-check
Loading

0 comments on commit 1144141

Please sign in to comment.