We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f89f87c commit b2e0593Copy full SHA for b2e0593
Dockerfile
@@ -1,14 +1,15 @@
1
FROM python:3.11-slim
2
3
-RUN apt-get update
4
-RUN apt-get install python3 python3-pip -y
5
-RUN pip3 install --upgrade pip
+#RUN apt-get update
+#RUN apt-get install python3 python3-pip -y
+#RUN pip3 install --upgrade pip
6
WORKDIR /Chronogram
7
8
-COPY ./requirements.txt /Chronogram/requirements.txt
9
-
10
-RUN pip3 install -r requirements.txt
+RUN pip install poetry
+#COPY ./requirements.txt /Chronogram/requirements.txt
11
+#RUN pip3 install -r requirements.txt
12
COPY . .
13
+RUN poetry install --without dev
14
-CMD python3 __main__.py
15
+CMD poetry run python __main__.py
0 commit comments