Version bump and minor changes

Incremented version to 1.0.9
Updated dockerfile to run build to generate static webpages
Fixed missing parameter REQUIRE_LOGIN from config payload
This commit is contained in:
Thegan Govender
2023-11-28 18:48:06 +02:00
parent 1ef57d0717
commit e146260572
4 changed files with 8 additions and 4 deletions

View File

@@ -5,10 +5,13 @@ WORKDIR /app
COPY package*.json ./
RUN npm cache clean --force
RUN npm install
RUN npm ci
COPY ./ ./
# Build the application
RUN npm run build
# Stage 2: Create the production image
FROM node:slim

View File

@@ -26,6 +26,7 @@ router.get("/getconfig", async (req, res) => {
JF_HOST:config.JF_HOST ,
APP_USER:config.APP_USER ,
settings:config.settings ,
REQUIRE_LOGIN:config.REQUIRE_LOGIN,
};

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "jfstat",
"version": "1.0.8",
"version": "1.0.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "jfstat",
"version": "1.0.8",
"version": "1.0.9",
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",

View File

@@ -1,6 +1,6 @@
{
"name": "jfstat",
"version": "1.0.8",
"version": "1.0.9",
"private": true,
"main": "src/index.jsx",
"scripts": {