dsmueller commited on
Commit
879d729
1 Parent(s): 9544071

All packages working, tested locally

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -4
Dockerfile CHANGED
@@ -5,16 +5,19 @@ FROM python:3.11.1
5
  WORKDIR /app
6
 
7
  # Install poetry
8
- RUN pip3 install poetry==1.7.1
9
 
10
  # Copy the current directory contents into the container at /usr/src/app
11
  COPY . .
12
 
13
  # Install dependencies
14
- RUN poetry config virtualenvs.create false \
15
- && poetry install --no-interaction --no-ansi
16
  # Streamlit must be installed separately. Potentially this will cause an issue with dependencies in the future, but it's the only way it works.
17
- RUN pip3 install streamlit
 
 
 
18
 
19
  # Make a port available to the world outside this container
20
  # The EXPOSE instruction informs Docker that the container listens on the specified network ports at runtime. Your container needs to listen to Streamlit’s (default) port 8501.
 
5
  WORKDIR /app
6
 
7
  # Install poetry
8
+ # RUN pip3 install poetry==1.7.1
9
 
10
  # Copy the current directory contents into the container at /usr/src/app
11
  COPY . .
12
 
13
  # Install dependencies
14
+ # RUN poetry config virtualenvs.create false \
15
+ # && poetry install --no-interaction --no-ansi
16
  # Streamlit must be installed separately. Potentially this will cause an issue with dependencies in the future, but it's the only way it works.
17
+ # RUN pip3 install streamlit
18
+
19
+ # Install dependencies
20
+ RUN pip3 install -r requirements.txt
21
 
22
  # Make a port available to the world outside this container
23
  # The EXPOSE instruction informs Docker that the container listens on the specified network ports at runtime. Your container needs to listen to Streamlit’s (default) port 8501.