mirror of
https://github.com/uw935/vatsimfox.git
synced 2026-09-17 05:59:04 +00:00
add: docker, fix: url to github in index.html & reqs.txt
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
media
|
||||||
|
README.md
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
__pycache__
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
FROM python:3.7.10
|
||||||
|
|
||||||
|
WORKDIR /build/
|
||||||
|
|
||||||
|
COPY requirements.txt /build/
|
||||||
|
|
||||||
|
RUN pip install --upgrade pip
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
COPY . /build/
|
||||||
|
|
||||||
|
# CMD ["python3", "-m", "flask", "run", "--host=0.0.0.0"]
|
||||||
@@ -26,4 +26,4 @@ def viewer_page(cid):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run(debug=True)
|
app.run(host="0.0.0.0", port=80)
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
ports:
|
||||||
|
- "80:5000"
|
||||||
|
network_mode: "host"
|
||||||
@@ -1 +1,2 @@
|
|||||||
Flask==2.2.5
|
Flask==2.2.5
|
||||||
|
requests==2.31.0
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<div class="h-100 p-5 bg-light border rounded-3">
|
<div class="h-100 p-5 bg-light border rounded-3">
|
||||||
<h2>Open source project</h2>
|
<h2>Open source project</h2>
|
||||||
<p>This project is fully opened, so you can contribute in it if you want</p>
|
<p>This project is fully opened, so you can contribute in it if you want</p>
|
||||||
<a href="https://github.com/uw935/vatsim-fox">
|
<a href="https://github.com/uw935/vatsimfox">
|
||||||
<button class="btn btn-outline-secondary" type="button">GitHub</button>
|
<button class="btn btn-outline-secondary" type="button">GitHub</button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user