MVP0
This commit is contained in:
13
agents_service/Dockerfile
Normal file
13
agents_service/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src ./src
|
||||
COPY .env.example ./.env.example
|
||||
|
||||
EXPOSE 8001
|
||||
CMD ["python","-m","uvicorn","src.main:app","--host","0.0.0.0","--port","8001"]
|
||||
Reference in New Issue
Block a user