This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM busybox:1.35
|
||||
|
||||
# Create a non-root user to own the files and run our server
|
||||
RUN mkdir /static
|
||||
WORKDIR /static
|
||||
|
||||
# Copy the static website
|
||||
# Use the .dockerignore file to control what ends up inside the image!
|
||||
COPY . .
|
||||
|
||||
# Run BusyBox httpd
|
||||
CMD ["busybox", "httpd", "-f", "-v", "-p", "80"]
|
||||
Reference in New Issue
Block a user