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
|
||||
|
||||
# Stage 2
|
||||
FROM binbashing/owasp-crs-ngxblocker:nginx-alpine
|
||||
FROM nginx:1.25-alpine
|
||||
|
||||
# Set workdir to the NGINX default dir.
|
||||
WORKDIR /usr/share/nginx/html
|
||||
@@ -35,5 +35,5 @@ WORKDIR /usr/share/nginx/html
|
||||
# Copy HTML from previous build into the Workdir.
|
||||
COPY --from=build /opt/HugoApp/public .
|
||||
|
||||
# Expose port 8080
|
||||
EXPOSE 8080/tcp
|
||||
# Expose port 80
|
||||
EXPOSE 80/tcp
|
||||
|
||||
Reference in New Issue
Block a user