mirror of
https://github.com/nttgin/BGPalerter.git
synced 2024-05-19 06:50:08 +00:00
14 lines
278 B
Docker
14 lines
278 B
Docker
# -- trivial container for BGPalerter
|
|
FROM node:18.19.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"]
|