diff --git a/Dockerfile b/Dockerfile index e0b95088..83e26f96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,8 @@ -FROM ubuntu:18.04 -RUN echo 'Hello, World!' > /test.txt +# Use a lightweight base image +FROM alpine:latest + +# Install a minimal HTTP server +RUN apk add --no-cache httpie + +# Command to run when the container starts +CMD echo 'Hello, World!' | http-server -p 8080