16 lines
334 B
Docker
16 lines
334 B
Docker
# Use the official Python image
|
|
FROM python:3.9-slim
|
|
|
|
# Set the working directory in the container
|
|
WORKDIR /app
|
|
|
|
# Copy the HTML files into the container
|
|
COPY index.html /app
|
|
COPY honey.html /app
|
|
COPY styles.css /app
|
|
|
|
# Expose port 8000
|
|
EXPOSE 8000
|
|
|
|
# Start the Python HTTP server on port 80
|
|
CMD ["python3", "-m", "http.server", "80"] |