semuthitamku commited on
Commit
2f78f7f
·
verified ·
1 Parent(s): b532468

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -64,13 +64,13 @@ RUN apt-get update && \
64
  update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
65
 
66
  # set working directory
67
- # WORKDIR /app
68
 
69
  # install dependencies
70
- # RUN chmod -R 777 /app
71
 
72
  # install python dependencies (if any)
73
- COPY requirements.txt .
74
  RUN python3 -m venv venv && \
75
  . venv/bin/activate && \
76
  pip install --no-cache-dir -r requirements.txt
 
64
  update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
65
 
66
  # set working directory
67
+ WORKDIR /app
68
 
69
  # install dependencies
70
+ RUN chmod -R 777 /app
71
 
72
  # install python dependencies (if any)
73
+ COPY . $WORKDIR
74
  RUN python3 -m venv venv && \
75
  . venv/bin/activate && \
76
  pip install --no-cache-dir -r requirements.txt