Skip to content

Commit

Permalink
use nginx image from redhat
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault16 committed Sep 17, 2024
1 parent 1d9ff9c commit 865c738
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docker-plain/files/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# add /overwrite FROM with your base image, and do whatever you like here :)
FROM nginxinc/nginx-unprivileged:latest
FROM registry.access.redhat.com/ubi9/nginx-122

USER root
RUN echo -n "Hello World" > index.html

RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get clean

USER 1001
# Run script uses standard ways to run the application
CMD nginx -g "daemon off;"

0 comments on commit 865c738

Please sign in to comment.