Skip to content

Commit

Permalink
Fix: Import font directly from github.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlee-06 committed Dec 17, 2024
1 parent d9554b9 commit 7a6fcc5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM python:3.9-slim
RUN apt update
RUN apt install -y pandoc tree
RUN apt install -y pandoc
RUN pip install Flask
WORKDIR /var/www/html
COPY docs .
COPY assets ./assets
COPY build .
RUN pandoc aoa.md -o index.html
EXPOSE 5000
RUN tree .
CMD ["python", "app.py"]
4 changes: 0 additions & 4 deletions build/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
def serve_index():
return send_from_directory('.', 'index.html')

@app.route('/assets/<path:filename>')
def serve_assets(filename):
return send_from_directory('assets', filename)

if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000)

0 comments on commit 7a6fcc5

Please sign in to comment.