NLP_Chatbot / Dockerfile
DanielIglesias97's picture
We have improved the interface of the application and removed the
8991658
raw
history blame contribute delete
296 Bytes
FROM python:3.10 AS base
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY ./requirements.txt ./requirements.txt
RUN pip3 install -r requirements.txt
COPY --chown=user . $HOME/app
FROM base AS run
CMD ["python", "app.py"]