rasmodev commited on
Commit
c0d7665
·
1 Parent(s): ae1db76

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -10
Dockerfile CHANGED
@@ -4,13 +4,6 @@ FROM python:3.11.3-slim
4
  # Set the working directory within the container
5
  WORKDIR /app
6
 
7
- # Create a non-root user and set appropriate permissions
8
- RUN adduser --disabled-password --gecos '' myuser
9
- RUN chown -R myuser:myuser /app
10
-
11
- # Switch to the non-root user
12
- USER myuser
13
-
14
  # Copy the .env file containing the API Key into the container
15
  COPY ./.env /app/.env
16
 
@@ -26,9 +19,6 @@ COPY ./requirements.txt /app/requirements.txt
26
  # Install the Python dependencies
27
  RUN pip install -r /app/requirements.txt
28
 
29
- # Install streamlit
30
- RUN pip install streamlit
31
-
32
  # Expose port 7860 for the FastAPI application
33
  EXPOSE 7860
34
 
 
4
  # Set the working directory within the container
5
  WORKDIR /app
6
 
 
 
 
 
 
 
 
7
  # Copy the .env file containing the API Key into the container
8
  COPY ./.env /app/.env
9
 
 
19
  # Install the Python dependencies
20
  RUN pip install -r /app/requirements.txt
21
 
 
 
 
22
  # Expose port 7860 for the FastAPI application
23
  EXPOSE 7860
24