theformatisvalid commited on
Commit
62f9592
·
verified ·
1 Parent(s): 443f48b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -8,14 +8,13 @@ RUN apt-get update && apt-get install -y \
8
  git \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
- RUN useradd -m appuser && chown -R appuser:appuser /app
12
- USER appuser
13
-
14
  COPY requirements.txt ./
15
  COPY src/ ./src/
16
 
17
  RUN pip3 install -r requirements.txt
18
 
 
 
19
  EXPOSE 8501
20
 
21
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
 
8
  git \
9
  && rm -rf /var/lib/apt/lists/*
10
 
 
 
 
11
  COPY requirements.txt ./
12
  COPY src/ ./src/
13
 
14
  RUN pip3 install -r requirements.txt
15
 
16
+ RUN chmod -R 777 /app
17
+
18
  EXPOSE 8501
19
 
20
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health