alexandraroze commited on
Commit
366c019
·
1 Parent(s): f11a85d

updated poetry

Browse files
Files changed (2) hide show
  1. Dockerfile +8 -4
  2. poetry.lock +0 -0
Dockerfile CHANGED
@@ -9,13 +9,17 @@ ENV PATH="/home/user/.local/bin:$PATH"
9
  WORKDIR /app
10
 
11
  # Copy Poetry config and install Poetry
12
- COPY --chown=user ./pyproject.toml ./poetry.lock* ./
13
  RUN pip install --no-cache-dir --upgrade pip \
14
- && pip install --no-cache-dir poetry \
15
- && poetry config virtualenvs.create false \
 
 
 
 
 
16
  && poetry install --no-dev --no-interaction --no-ansi
17
 
18
- # Copy the rest of the app
19
  COPY --chown=user . /app
20
 
21
  # Expose the Streamlit default port
 
9
  WORKDIR /app
10
 
11
  # Copy Poetry config and install Poetry
 
12
  RUN pip install --no-cache-dir --upgrade pip \
13
+ && pip install --no-cache-dir poetry
14
+
15
+ # Copy pyproject.toml to the container
16
+ COPY --chown=user ./pyproject.toml ./
17
+
18
+ # Install dependencies
19
+ RUN poetry config virtualenvs.create false \
20
  && poetry install --no-dev --no-interaction --no-ansi
21
 
22
+ # Copy the rest of the application
23
  COPY --chown=user . /app
24
 
25
  # Expose the Streamlit default port
poetry.lock DELETED
The diff for this file is too large to render. See raw diff