Files
saas/apps/python-microservice/Dockerfile
AHMET YILMAZ 6e7a8c784b
Some checks failed
CI Pipeline / Lint & Test Frontend (push) Has been cancelled
CI Pipeline / Test Backend (push) Has been cancelled
first intial
2025-09-16 22:59:46 +08:00

14 lines
394 B
Docker

FROM python:3.10-slim
# Set the working directory
WORKDIR /app
# Copy the requirements file and install dependencies
# This will be cached as a layer
COPY ./apps/python-microservice/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# The rest of the code will be mounted via volume.
# The CMD will run the main.py file.
CMD ["python", "apps/python-microservice/main.py"]