11 lines
283 B
Docker
11 lines
283 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
COPY requirements.txt /app/requirements.txt
|
|
RUN pip install --no-cache-dir -r /app/requirements.txt
|
|
COPY . /app
|
|
|
|
ENV APP_MODULE=services.auth_service.app:app
|
|
EXPOSE 8000 9019
|
|
CMD ["sh", "-c", "uvicorn ${APP_MODULE} --host 0.0.0.0 --port 8000"]
|