Skip to content
Merged
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-docs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM python:3.13-alpine as builder
FROM python:3.14-alpine as builder

Check warning on line 1 in Dockerfile-docs

View workflow job for this annotation

GitHub Actions / Build

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

# set workdir
RUN mkdir -p $HOME/application
WORKDIR $HOME/application

Check warning on line 5 in Dockerfile-docs

View workflow job for this annotation

GitHub Actions / Build

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$HOME' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

# copy the entire application
COPY --chown=1001:root . .
Expand All @@ -17,8 +17,8 @@
# build the docs
RUN mkdocs build

FROM nginxinc/nginx-unprivileged:1.29-alpine as deploy

Check warning on line 20 in Dockerfile-docs

View workflow job for this annotation

GitHub Actions / Build

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
COPY --from=builder $HOME/application/site/ /usr/share/nginx/html/reloader/

Check warning on line 21 in Dockerfile-docs

View workflow job for this annotation

GitHub Actions / Build

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$HOME' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
COPY docs-nginx.conf /etc/nginx/conf.d/default.conf

# set non-root user
Expand All @@ -30,6 +30,6 @@
release="1" \
summary="Documentation for Stakater Reloader"

EXPOSE 8080:8080/tcp

Check warning on line 33 in Dockerfile-docs

View workflow job for this annotation

GitHub Actions / 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/

CMD ["nginx", "-g", "daemon off;"]
Loading