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:
parent
369e374ab7
commit
d8d0261681
@ -28,6 +28,8 @@ FROM node:$NODE_VERSION
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
||||
ENV TZ UTC
|
||||
|
||||
WORKDIR /unleash
|
||||
|
||||
COPY --from=builder /unleash/docker /unleash
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user