onstar2mqtt/Dockerfile
2022-07-03 12:41:57 -04:00

13 lines
211 B
Docker

FROM node:18-alpine
RUN mkdir /app
WORKDIR /app
COPY ["package.json", "/app/"]
COPY ["package-lock.json", "/app/"]
RUN npm ci --omit=dev --no-fund
COPY ["src", "/app/src"]
ENTRYPOINT ["npm", "run", "start"]