Skip to content

Commit fa68aa0

Browse files
some hotfixes
1 parent dc4f8a6 commit fa68aa0

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

Dockerfile.app

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM --platform=linux/amd64 ubuntu:22.04
44
# install python
55
RUN apt-get update && apt-get install -y python3.10 python3-pip python3.10-venv
66

7-
7+
RUN ln -s /usr/bin/python3.10 /usr/bin/python
88
# Set the working directory to /app
99
WORKDIR /app
1010

docker-compose.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,7 @@ services:
77
volumes:
88
- .:/app
99
expose:
10-
- 8888
11-
env_file:
12-
- .env
13-
app2:
14-
build:
15-
context: .
16-
dockerfile: Dockerfile.app
17-
volumes:
18-
- .:/app
19-
expose:
20-
- 8888
10+
- 8000
2111
env_file:
2212
- .env
2313
nginx:
@@ -31,4 +21,4 @@ services:
3121
- "443:443"
3222
depends_on:
3323
- app1
34-
- app2
24+

leaderboard_github_bot/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
app = FastAPI()
1515

1616
origins = [
17-
"http://localhost:5173",
18-
"http://localhost:8080",
17+
"http://localhost:5173/leaderboard",
18+
"https://artur-galstyan.github.io/leaderboard/",
1919
]
2020

2121
app.add_middleware(

0 commit comments

Comments
 (0)