FROM busybox:1.36 # Create a non-root user to own the files and run our server RUN adduser -D web USER web WORKDIR /home/web # Copy the static website COPY src/* . # Run BusyBox httpd EXPOSE 8080 ENTRYPOINT [ "busybox", "httpd", "-f", "-v" ] CMD ["-p", "8080"]