Update dockerfile
This commit is contained in:
@ -1,11 +1,13 @@
|
|||||||
FROM python:3.13-slim
|
FROM pythoFROM python:3.13-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev build-essential
|
RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev build-essential
|
||||||
|
|
||||||
|
COPY requirements.txt ./
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
CMD ["python", "src/main.py"]
|
CMD ["python", "src/main.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user