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

Added: Dockerfile improvements

This commit is contained in:
GoliathLabs
2022-08-16 16:47:12 +02:00
parent 860781106e
commit 4f76babfb8

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