Skip to content
Open
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM nginxinc/nginx-unprivileged:1.27-alpine
FROM nginxinc/nginx-unprivileged:1.30-alpine
WORKDIR /usr/share/nginx/html/

# copy the entire application
Expand All @@ -16,5 +16,5 @@
release="1" \
summary="Documentation for Template"

EXPOSE 8080:8080/tcp

Check warning on line 19 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_container / build

IP address and host-port mapping should not be used in EXPOSE instruction. This will become an error in a future release

ExposeInvalidFormat: EXPOSE instruction should not define an IP address or host-port mapping, found '8080:8080/tcp' More info: https://docs.docker.com/go/dockerfile/rule/expose-invalid-format/

Expand Down
2 changes: 1 addition & 1 deletion DockerfileLocal
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN mkdocs build
# remove the build theme because it is not needed after site is build.
RUN rm -rf dist

FROM nginxinc/nginx-unprivileged:1.27-alpine as deploy
FROM nginxinc/nginx-unprivileged:1.30-alpine as deploy
COPY --from=builder $HOME/application/site/ /usr/share/nginx/html/
COPY default.conf /etc/nginx/conf.d/

Expand Down
Loading