OmniRoute / Dockerfile
alpgul's picture
Update Dockerfile
514eb58 verified
Raw
History Blame Contribute Delete
484 Bytes
FROM diegosouzapw/omniroute:latest
ENV PORT=20128
ENV HOSTNAME=0.0.0.0
ENV NODE_ENV=production
RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates \
python3 python3-pip coreutils socat \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install --no-cache-dir huggingface_hub --break-system-packages
COPY --chmod=644 .env /app/.env
WORKDIR /app
COPY entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
EXPOSE 20128
CMD ["/app/entrypoint.sh"]