Spaces:
Sleeping
Sleeping
File size: 420 Bytes
f493629 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 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"]
|