ocker
This commit is contained in:
1 parent
e061c2e0f0
commit
eaf5252fa8
1 file changed
+10
-10
+10
-10
@@ -1,10 +1,10 @@
|
|||||||
FROM python:3.12-slim
|
FROM python:3.12-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update; apt-get install -y git
|
RUN apt-get update; apt-get install -y git
|
||||||
COPY ./src/requirements.txt .
|
COPY ./src/requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r ./requirements.txt
|
RUN pip install --no-cache-dir -r ./requirements.txt
|
||||||
|
|
||||||
COPY ./src .
|
COPY ./src .
|
||||||
CMD [ "python", "-u", "./main.py" ]
|
CMD [ "python", "-u", "./main.py" ]
|
||||||
Reference in new issue
Block a user