handle timezone correctly in docker build
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
FROM node:alpine as files
|
||||
ENV TZ="Europe/Berlin"
|
||||
WORKDIR /app
|
||||
|
||||
COPY [ "package-lock.json", "package.json", "index.ts", "tsconfig.json", "./" ]
|
||||
COPY server ./server
|
||||
|
||||
@ -18,5 +18,4 @@ RUN npm ci
|
||||
FROM dependencies as test
|
||||
COPY jest.config.js .
|
||||
COPY tests ./tests
|
||||
|
||||
RUN npm run test
|
||||
|
Reference in New Issue
Block a user