Initial Commit
This commit is contained in:
17
reporter/Dockerfile
Normal file
17
reporter/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
# Use a slim Python base
|
||||
FROM python:3.10-slim
|
||||
|
||||
# Install chrony (we only need the 'chronyc' client)
|
||||
RUN apt-get update && apt-get install -y chrony && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Python dependencies
|
||||
RUN pip install Flask
|
||||
|
||||
# Copy the app
|
||||
WORKDIR /app
|
||||
COPY main.py .
|
||||
|
||||
# Expose the port and run the app
|
||||
EXPOSE 8080
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user