Spaces:
Runtime error
Runtime error
h3110Fr13nd
commited on
Commit
·
4cbc9e9
1
Parent(s):
35d79f2
dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -9,4 +9,7 @@ COPY requirements.txt ./
|
|
9 |
RUN python3.11 -m pip install --no-cache-dir -r requirements.txt
|
10 |
COPY . .
|
11 |
ENTRYPOINT ["/bin/sh"]
|
12 |
-
|
|
|
|
|
|
|
|
9 |
RUN python3.11 -m pip install --no-cache-dir -r requirements.txt
|
10 |
COPY . .
|
11 |
ENTRYPOINT ["/bin/sh"]
|
12 |
+
ENV FLASK_APP=ddl_query_generator.py
|
13 |
+
CMD ["/usr/bin/python3.11", "flask", "run", "ddl_query_generator.py", "--host=0.0.0.0", "--port=7860"]
|
14 |
+
# CMD ["/usr/bin/python3.11", "ddl_query_generator.py"]
|
15 |
+
# flask run ddl_query_generator.py
|