onstar2mqtt/Dockerfile

13 lines
211 B
Docker
Raw Permalink Normal View History

2022-07-03 16:41:57 +00:00
FROM node:18-alpine
RUN mkdir /app
WORKDIR /app
COPY ["package.json", "/app/"]
2020-12-28 02:55:49 +00:00
COPY ["package-lock.json", "/app/"]
2022-07-03 16:41:57 +00:00
RUN npm ci --omit=dev --no-fund
COPY ["src", "/app/src"]
ENTRYPOINT ["npm", "run", "start"]