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