sec-edgar-agent / Dockerfile
Benjamona97's picture
Third commit
24ad92c
raw
history blame contribute delete
424 Bytes
FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy your application code
COPY . .
# Create a non-root user, change ownership of /code to this user, then switch to it
RUN adduser --disabled-password --gecos '' myuser && \
chown -R myuser:myuser /code
USER myuser
CMD ["chainlit", "run", "app.py", "--port", "7860"]