Files
ntp/frontend/Dockerfile
2025-10-22 16:37:20 -04:00

20 lines
321 B
Docker

# 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"]