Spaces:
Runtime error
Runtime error
attempt to optimize building
Browse files- Dockerfile +2 -2
- app.py +1 -1
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM
|
| 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
|
| 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
|
| 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:
|