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