Stage 01 - bootstrap v2 stable start
This commit is contained in:
12
infra/docker/Dockerfile
Normal file
12
infra/docker/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
WORKDIR /project
|
||||
|
||||
COPY app /project/app
|
||||
RUN pip install --no-cache-dir -r /project/app/requirements.txt
|
||||
|
||||
WORKDIR /project/app
|
||||
CMD ["python", "-m", "src.main"]
|
||||
Reference in New Issue
Block a user