handle timezone correctly in docker build
All checks were successful
Run unit tests / test (pull_request) Successful in 1m53s
Compile the repository / compile (pull_request) Successful in 1m10s

This commit is contained in:
2023-06-24 20:31:37 +02:00
parent af414d0bad
commit 37b798818c
2 changed files with 4 additions and 5 deletions

View File

@ -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