1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: set timezone to utc (#3666)

This commit is contained in:
Jaanus Sellin 2023-05-03 10:25:56 +03:00 committed by GitHub
parent 369e374ab7
commit d8d0261681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -28,6 +28,8 @@ FROM node:$NODE_VERSION
ENV NODE_ENV production
ENV TZ UTC
WORKDIR /unleash
COPY --from=builder /unleash/docker /unleash

View File

@ -30,9 +30,9 @@
"license": "Apache-2.0",
"main": "./dist/lib/server-impl.js",
"scripts": {
"start": "node ./dist/server.js",
"start": "TZ=UTC node ./dist/server.js",
"prestart:dev": "yarn run clean",
"start:dev": "NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
"start:dev": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
"copy-templates": "copyfiles -u 1 src/mailtemplates/**/*.mustache dist/",
"db-migrate": "db-migrate --migrations-dir ./src/migrations",
"lint": "eslint ./src",