Docker Container
This commit is contained in:
1 parent
aecbe02b4a
commit
010df60172
1 file changed
+16
+16
@@ -0,0 +1,16 @@
|
|||||||
|
# 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"]
|
||||||
Reference in new issue
Block a user