hswro_org/docker/serve.Dockerfile

14 lines
314 B
Docker
Raw Normal View History

FROM busybox:1.35
# Create a non-root user to own the files and run our server
RUN adduser -D static
USER static
WORKDIR /home/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", "3000"]