Initial Commit
This commit is contained in:
19
frontend/Dockerfile
Normal file
19
frontend/Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
# Use a slim Python base
|
||||
FROM python:3.10-slim
|
||||
|
||||
# Install Python dependencies
|
||||
RUN pip install Flask requests tabulate texttable
|
||||
|
||||
WORKDIR /app/static
|
||||
RUN mkdir fonts
|
||||
COPY fonts/* ./fonts/
|
||||
|
||||
|
||||
# Copy the app
|
||||
WORKDIR /app
|
||||
RUN mkdir fonts
|
||||
COPY main.py .
|
||||
|
||||
# Expose the port and run the app
|
||||
EXPOSE 8080
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user