Browse Source

added docker compose

master
Juni Kim 10 months ago
parent
commit
0316f57205
  1. 6
      docker-compose.yml
  2. 25
      templates/page.html

6
docker-compose.yml

@ -0,0 +1,6 @@
services:
app:
build:
context: .
ports:
- "3004:8000"

25
templates/page.html

@ -12,6 +12,7 @@
</head>
<body>
<main class="container">
<h1> USAMTS 5/2/35 </h1>
<strong><h3>Problem</h3></strong>
<p>
Let \(m\) and \(n\) be positive integers. Let \(S\) be the set of all points
@ -30,18 +31,6 @@
construction to even be viable, this quantity clearly needs to be even.
</p>
<strong><h3>Constructor</h3></strong>
{% if invalid %}
<p> Invalid Input! </p>
{% endif %}
{% if nosol %}
<p> No Valid Solution is Possible! </p>
{% endif %}
{% if image %}
<img src="{{ image }}" alt="Solution Image" />
{% endif %}
{% if works == False %}
<p> Claimed Construction Fails!!!! </p>
{% endif %}
<form method="POST" action="{{url_for ('index')}}">
<table role="grid">
<tbody>
@ -65,6 +54,18 @@
</table>
<input type="submit" value="Construct">
</form>
{% if invalid %}
<p> Invalid Input! </p>
{% endif %}
{% if nosol %}
<p> No Valid Solution is Possible! </p>
{% endif %}
{% if image %}
<img src="{{ image }}" alt="Solution Image" />
{% endif %}
{% if works == False %}
<p> Claimed Construction Fails!!!! </p>
{% endif %}
</main>
</body>
</html>
Loading…
Cancel
Save