mihran113
commited on
Commit
·
e5feca2
1
Parent(s):
6f108dd
Test run
Browse files- Dockerfile +13 -0
- README.md +1 -0
- requirements.txt +2 -0
Dockerfile
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
RUN wget https://aim-demo-logs-dev.s3.us-east-2.amazonaws.com/enru_logs.tar.gz
|
9 |
+
RUN tar -xzf enru_logs.tar.gz
|
10 |
+
|
11 |
+
COPY . .
|
12 |
+
|
13 |
+
CMD ["aim", "up", "--host", "0.0.0.0", "--port", "10001", "--workers", "2"]
|
README.md
CHANGED
@@ -4,6 +4,7 @@ emoji: 😻
|
|
4 |
colorFrom: gray
|
5 |
colorTo: yellow
|
6 |
sdk: docker
|
|
|
7 |
pinned: false
|
8 |
license: apache-2.0
|
9 |
---
|
|
|
4 |
colorFrom: gray
|
5 |
colorTo: yellow
|
6 |
sdk: docker
|
7 |
+
app_port: 10001
|
8 |
pinned: false
|
9 |
license: apache-2.0
|
10 |
---
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
sqlalchemy<2.0.0
|
2 |
+
aim
|