mirror of
https://github.com/nttgin/BGPalerter.git
synced 2024-05-19 06:50:08 +00:00
Add tzdata package
This is needed to make the container respect /etc/timezone config which may be set at runtime. Otherwise, the container userland always assumes GMT/UTC.
This commit is contained in:
@ -4,6 +4,9 @@ FROM node:12-alpine as build
|
||||
WORKDIR /opt/bgpalerter
|
||||
COPY . .
|
||||
|
||||
# Makes the final image respect /etc/timezone configuration
|
||||
RUN apk add --no-cache tzdata
|
||||
|
||||
RUN npm install
|
||||
|
||||
ENTRYPOINT ["npm"]
|
||||
|
Reference in New Issue
Block a user