theonlykid commited on
Commit
37949cf
·
verified ·
1 Parent(s): 809ad3b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -7
Dockerfile CHANGED
@@ -1,16 +1,14 @@
1
-
2
  FROM python:3.9
3
 
4
  WORKDIR /code
5
 
6
  COPY ./requirements.txt /code/requirements.txt
 
7
 
8
  COPY ./kobold /code/kobold
9
-
10
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
-
12
  COPY . .
13
 
14
- CMD ["chmod","+x","*"]
15
- CMD ["ls", "-la"]
16
- CMD ["./kobold", "--help"]
 
 
 
1
  FROM python:3.9
2
 
3
  WORKDIR /code
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
7
 
8
  COPY ./kobold /code/kobold
 
 
 
9
  COPY . .
10
 
11
+ RUN chmod +x kobold
12
+
13
+ RUN ls -la
14
+ CMD ["./kobold", "--help"]