Skip to content
Closed

remo #1032

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Small, production-ready base with NGINX pre-installed
FROM nginx:stable-alpine

# Build-time args (populated from your Build & Push step)
ARG IMAGE_TAG
ARG BUILD_COMMIT_SHA

# Optional: surface build args as env/labels for traceability
ENV IMAGE_TAG="${IMAGE_TAG}" \
BUILD_COMMIT_SHA="${BUILD_COMMIT_SHA}"
LABEL org.opencontainers.image.revision="${BUILD_COMMIT_SHA}" \
org.opencontainers.image.version="${IMAGE_TAG}"

# If your repo has static site files, copy them to the default NGINX root.
# Remove/change this line if you don't want to serve repo files.
COPY . /usr/share/nginx/html

# NGINX base image already exposes 80 and sets entrypoint/cmd
EXPOSE 80
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,12 @@ See our [changelog](https://nginx.org/en/CHANGES) to keep track of updates.
[2-clause BSD-like license](LICENSE)

---
Additional documentation available at: https://nginx.org/en/docs
Additional documentation available at: https://nginx.org/en/docs
glkjlkm



//adharam madhuram
=======
//djfchieweik

3 changes: 3 additions & 0 deletions sample.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hello from GitHub!
This is a sample text file for Docker build testing.
You can download this file during your Docker image build.
2 changes: 2 additions & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test content
updated
Loading