1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

Merge pull request #889 from GoliathLabs/dockerfile

Added: Dockerfile improvements
This commit is contained in:
Massimo Candela
2022-09-01 20:49:28 +02:00
committed by GitHub

View File

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