woolbot commited on
Commit
3fe1ddd
1 Parent(s): f4c0d36

attempt to optimize building

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. app.py +1 -1
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM debian:latest
2
 
3
  COPY . /app
4
 
@@ -6,7 +6,7 @@ RUN chmod -R 777 /app
6
 
7
  WORKDIR /app
8
 
9
- RUN apt update && apt install ffmpeg python3 python3-pip python-is-python3 software-properties-common -y
10
 
11
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
12
 
 
1
+ FROM python:3.11.1-bullseye
2
 
3
  COPY . /app
4
 
 
6
 
7
  WORKDIR /app
8
 
9
+ RUN apt update && apt install ffmpeg -y
10
 
11
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
12
 
app.py CHANGED
@@ -84,7 +84,7 @@ def getBMPreview(): return osuApi.getPreview(request)
84
  def getBMFull(): return osuApi.getFull(request)
85
 
86
  if __name__ == "__main__":
87
- VERSION = '1.0 build77'
88
 
89
  config = configFile()
90
  with open(config['config-path'], "w") as outfile:
 
84
  def getBMFull(): return osuApi.getFull(request)
85
 
86
  if __name__ == "__main__":
87
+ VERSION = '1.0 build78'
88
 
89
  config = configFile()
90
  with open(config['config-path'], "w") as outfile: