mirror of
https://github.com/nttgin/BGPalerter.git
synced 2024-05-19 06:50:08 +00:00
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.
14 lines
250 B
Docker
14 lines
250 B
Docker
# -- trivial container for bgpalerter
|
|
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"]
|
|
CMD ["run", "serve"]
|