Spaces:
Sleeping
Sleeping
Adarsh Shirawalmath
commited on
Commit
β’
9167584
1
Parent(s):
b673f7e
Upload
Browse files- Dockerfile +5 -8
- __pycache__/app.cpython-311.pyc +0 -0
- app.py β app/main.py +0 -0
- token.json +0 -7
Dockerfile
CHANGED
@@ -1,13 +1,10 @@
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
-
|
4 |
-
USER user
|
5 |
-
ENV PATH="/home/user/.local/bin:$PATH"
|
6 |
|
7 |
-
|
|
|
8 |
|
9 |
-
COPY
|
10 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
|
12 |
-
|
13 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
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 /code/requirements.txt
|
7 |
|
8 |
+
COPY ./app /code/app
|
|
|
9 |
|
10 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
__pycache__/app.cpython-311.pyc
CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
app.py β app/main.py
RENAMED
File without changes
|
token.json
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"access_token": "ya29.a0AcM612xqGHrEM4kdP_Y5-IjrfspiHQqHlG3j_u-8PcqVOLpbXCE5oPCoYqnZL5l66mRplXehsuGInxI_2i1R9HuYUmibcjPl0jmgLnsekKxgSuAHRfMekEPOtbG-5WtjA1vLqLApiYLxYnPcAytLJOzP0pL6duYwVs73aCgYKAVMSARASFQHGX2MiHP5zWjNqu0AKxq4De7BjsA0171",
|
3 |
-
"scope": "https://www.googleapis.com/auth/youtube.readonly",
|
4 |
-
"token_type": "Bearer",
|
5 |
-
"expires_in": 3599,
|
6 |
-
"refresh_token": "1//041hmDKkeHyGUCgYIARAAGAQSNwF-L9IrVXJrRjzSvXlBl0S3V7y3vZaOtw4nyGJeX5qDHV8_XtoNmA4Gd83VJImlBSJRsDEXfR4"
|
7 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|