Spico commited on
Commit
91d6fd6
·
1 Parent(s): 1b75c05

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -1,10 +1,12 @@
1
  FROM python:3.10-slim
2
 
3
- #Install cron and git
4
  RUN apt-get update
5
  RUN apt-get -y install git
6
 
7
- # prepare scripts
 
 
8
  WORKDIR /app/
9
  COPY ./ /app/
10
  RUN pip install --no-cache-dir -r /app/requirements.txt
 
1
  FROM python:3.10-slim
2
 
3
+ #Install git
4
  RUN apt-get update
5
  RUN apt-get -y install git
6
 
7
+ # prepare home
8
+ RUN mkdir -p /app
9
+ RUN chmod 777 /app
10
  WORKDIR /app/
11
  COPY ./ /app/
12
  RUN pip install --no-cache-dir -r /app/requirements.txt