enemy7 commited on
Commit
a9afb83
·
1 Parent(s): ed0b61e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -33,16 +33,17 @@
33
  # RUN ssh-keygen -A
34
 
35
  # RUN service ssh start
36
-
37
  FROM python:3.9
38
 
39
- COPY . .
40
- RUN pip3 install -r requirements.txt
41
-
42
 
 
 
 
 
43
 
44
  # Expose port 7768 for SSH
45
- EXPOSE 7860
46
 
47
  # Start the SSH server when the container runs
48
  CMD ["python3","app.py"]
 
33
  # RUN ssh-keygen -A
34
 
35
  # RUN service ssh start
 
36
  FROM python:3.9
37
 
38
+ WORKDIR /app
 
 
39
 
40
+ COPY requirements.txt /app/
41
+ RUN pip3 install -r requirements.txt
42
+ RUN chmod 777 /app
43
+ COPY . /app
44
 
45
  # Expose port 7768 for SSH
46
+ # EXPOSE 7860
47
 
48
  # Start the SSH server when the container runs
49
  CMD ["python3","app.py"]