Revert Dockerfile changes
All checks were successful
Build and Publish Docker Image / build (push) Successful in 21s
All checks were successful
Build and Publish Docker Image / build (push) Successful in 21s
This commit is contained in:
@@ -27,7 +27,7 @@ RUN git submodule update --init --recursive
|
|||||||
RUN hugo
|
RUN hugo
|
||||||
|
|
||||||
# Stage 2
|
# Stage 2
|
||||||
FROM binbashing/owasp-crs-ngxblocker:nginx-alpine
|
FROM nginx:1.25-alpine
|
||||||
|
|
||||||
# Set workdir to the NGINX default dir.
|
# Set workdir to the NGINX default dir.
|
||||||
WORKDIR /usr/share/nginx/html
|
WORKDIR /usr/share/nginx/html
|
||||||
@@ -35,5 +35,5 @@ WORKDIR /usr/share/nginx/html
|
|||||||
# Copy HTML from previous build into the Workdir.
|
# Copy HTML from previous build into the Workdir.
|
||||||
COPY --from=build /opt/HugoApp/public .
|
COPY --from=build /opt/HugoApp/public .
|
||||||
|
|
||||||
# Expose port 8080
|
# Expose port 80
|
||||||
EXPOSE 8080/tcp
|
EXPOSE 80/tcp
|
||||||
|
|||||||
Reference in New Issue
Block a user