-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
20 lines (19 loc) · 657 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM wmfs/node:lts-alpine AS base-test
LABEL maintainer="West Midlands Fire Service <[email protected]>"
COPY package.json ./
COPY ./config/. ./config/.
COPY ./certificate/. ./certificate/.
RUN apk add --no-cache tzdata && \
npm install --production
ENV TZ=Europe/London
USER node
CMD ["node", "./node_modules/@wmfs/tymly-runner/lib/index.js"]
FROM wmfs/node:lts-alpine as base-release
LABEL maintainer="West Midlands Fire Service <[email protected]>"
COPY package.json ./
COPY ./config/. ./config/.
RUN apk add --no-cache tzdata && \
npm install --production
ENV TZ=Europe/London
USER node
CMD ["node", "./node_modules/@wmfs/tymly-runner/lib/index.js"]