multi-agent-strat / Dockerfile
Avnishjain's picture
Upload 21 files
6888575 verified
raw
history blame contribute delete
399 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PORT=8000
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY --chown=user requirements.txt $HOME/app/requirements.txt
RUN pip install --no-cache-dir -r $HOME/app/requirements.txt
COPY --chown=user . $HOME/app/
CMD ["python", "-m", "server.app"]