We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81257ad commit 635bed2Copy full SHA for 635bed2
Dockerfile
@@ -4,13 +4,16 @@ WORKDIR /app/frontend
4
5
COPY . .
6
7
-RUN pip install --upgrade pip && \
8
- pip install --user pipx
+# Install curl
+RUN apt-get update && apt-get install -y --no-install-recommends curl \
9
+ && rm -rf /var/lib/apt/lists/*
10
11
+# Install Poetry and add it to PATH
12
+RUN curl -sSL https://install.python-poetry.org | python3 - --version 2.1.3
13
ENV PATH="/root/.local/bin:$PATH"
14
-RUN pipx install poetry==2.1.3 && \
- poetry install --only main
15
+# Install project
16
+RUN poetry install --only main
17
18
EXPOSE 8501
19
0 commit comments