vancyferns commited on
Commit
46d794f
·
1 Parent(s): 8dd5c3e

updated Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -10,10 +10,10 @@ ENV PATH="/home/user/.local/bin:$PATH"
10
  WORKDIR /app
11
 
12
  # Copy requirements and install
13
- COPY --chown=user ./requirements.txt requirements.txt
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
- # Copy the textModel folder contents into /app
17
  COPY --chown=user ./textModel/ .
18
 
19
  # Expose the port your Flask app will run on
@@ -25,4 +25,3 @@ ENV FLASK_RUN_HOST=0.0.0.0
25
  ENV FLASK_RUN_PORT=7860
26
 
27
  CMD ["flask", "run"]
28
-
 
10
  WORKDIR /app
11
 
12
  # Copy requirements and install
13
+ COPY --chown=user ./textModel/requirements.txt requirements.txt
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
+ # Copy the rest of the app
17
  COPY --chown=user ./textModel/ .
18
 
19
  # Expose the port your Flask app will run on
 
25
  ENV FLASK_RUN_PORT=7860
26
 
27
  CMD ["flask", "run"]