teasense-alerter/Dockerfile

8 lines
162 B
Docker

FROM node:18-alpine3.18
RUN apk update && apk upgrade && sync
EXPOSE 3000
WORKDIR /usr/app
COPY . /usr/app
RUN npm ci
ENV NODE_ENV production
CMD ["npm", "start"]