feat: simplest 8080 dockerfile

This commit is contained in:
Krzysztof R. 2024-05-11 16:10:37 +02:00
parent cb9601ddb7
commit a0bfb28c3e

View File

@ -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