1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00
Files
nttgin-BGPalerter/Dockerfile
Massimo Candela 6130e03c21 migrate to node 18
2023-02-09 00:46:57 +01:00

14 lines
278 B
Docker

# -- trivial container for BGPalerter
FROM node:18.14.0-alpine as build
WORKDIR /opt/bgpalerter
COPY . .
# Makes the final image respect /etc/timezone configuration
RUN apk add --no-cache tzdata
RUN npm ci --no-audit --prefer-offline
ENTRYPOINT ["npm"]
CMD ["run", "serve"]