2024-10-15 11:39:55 -07:00
|
|
|
FROM node:20.18.0-alpine3.20@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9
|
2022-05-21 00:23:55 -07:00
|
|
|
|
2024-02-14 07:57:02 -07:00
|
|
|
RUN apk add --no-cache tini
|
2023-11-28 15:52:37 -07:00
|
|
|
USER node
|
2022-10-25 12:18:37 -07:00
|
|
|
WORKDIR /usr/src/app
|
2022-07-13 05:42:00 -07:00
|
|
|
COPY --chown=node:node package*.json ./
|
2022-07-04 11:47:25 -07:00
|
|
|
RUN npm ci
|
2022-05-21 00:23:55 -07:00
|
|
|
COPY --chown=node:node . .
|
|
|
|
ENV CHOKIDAR_USEPOLLING=true
|
2022-07-13 05:42:00 -07:00
|
|
|
EXPOSE 24678
|
2023-11-17 21:13:36 -07:00
|
|
|
EXPOSE 3000
|
2024-02-14 07:57:02 -07:00
|
|
|
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh"]
|