mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
21 lines
367 B
Docker
21 lines
367 B
Docker
FROM node:21-slim
|
|
|
|
ENV PORT 5000
|
|
EXPOSE $PORT
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json .
|
|
COPY package-lock.json .
|
|
|
|
COPY gulpfile.js .
|
|
COPY tsconfig.json .
|
|
COPY healthcheck.js .
|
|
|
|
COPY public ./public
|
|
COPY src ./src
|
|
|
|
RUN npm install && npm run build && npm cache clean --force
|
|
COPY opentelemetry.js .
|
|
|
|
CMD [ "node", "--require", "./opentelemetry.js", "./build/server/index.js"] |