Skip to content

Commit

Permalink
FIX: FIX SETTINGS
Browse files Browse the repository at this point in the history
  • Loading branch information
timlzh committed Oct 11, 2023
1 parent ee5ef75 commit 4d5228d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM python:3.8-slim-buster

COPY app/requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

COPY app /app
WORKDIR /app

RUN pip install -r requirements.txt

CMD ["python", "main.py"]
CMD ["python", "main.py"]
4 changes: 2 additions & 2 deletions python/app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


{% block nav_btns %}
<a href="/settings.html" class="nes-btn is-primary">设置</a>
<a href="/settings" class="nes-btn is-primary">设置</a>
{% endblock %}


Expand Down Expand Up @@ -101,4 +101,4 @@


{% block footer %}
{% endblock %}
{% endblock %}

0 comments on commit 4d5228d

Please sign in to comment.