Unable to create Dockerfile - task 41 in 100 days of DevOps

Hello team,
I am trying to build a Docker image by creating a Dockerfile.
I am getting the error like the path is not available.

Below is the Dockerfile which I created for Docker image

Please check and help me solve this.

Probably your Dockerfile needed to look more like this:

# day 41


FROM ubuntu:24.04 as base


RUN apt update && \
    apt install -y apache2

RUN sed -i 's/80/8089/g' /etc/apache2/ports.conf && \
    sed -i 's/80/8089/g' /etc/apache2/sites-available/000-default.conf

CMD ["apache2ctl", "-D", "FOREGROUND"]

Not sure what the sed invocations actually used in your version of the Dockerfile, but it’s possible there’s spaces after a \ or something like that, but my version of the Dockerfile worked fine and passed the grader.