interprete / Dockerfile
jtomas's picture
Upload Dockerfile
f493629 verified
Raw History Blame Contribute Delete
420 Bytes
FROM node:22-slim
ARG APP_REPO=https://github.com/jesus-tomas-girones/interprete.git
ARG APP_REF=main
RUN apt-get update \
&& apt-get install -y --no-install-recommends git ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN git clone --depth 1 --branch ${APP_REF} ${APP_REPO} .
RUN npm install --omit=dev
ENV HOST=0.0.0.0
ENV PORT=7860
ENV NODE_ENV=production
EXPOSE 7860
CMD ["npm", "start"]