1
0
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:
Ben Yanke
2020-10-30 11:20:34 -05:00
committed by GitHub
parent dfacb37ba6
commit 260572d134

View File

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