File size: 288 Bytes
7832245
634e26b
 
 
 
 
7832245
 
634e26b
7832245
 
 
1
2
3
4
5
6
7
8
9
10
11
12
FROM python:3.11-slim
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user
ENV PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY --chown=user . $HOME/app
VOLUME /data
EXPOSE 22222
CMD ["python", "-m", "apis.chat_api"]