1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00
Files
nttgin-BGPalerter/Dockerfile
Ben Yanke 260572d134 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.
2020-10-30 11:20:34 -05:00

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