anubis/docs/Dockerfile
Dennis ten Hoove f41b21b3cf
Explicitely define image sources in Dockerfile (#21)
* Explicitely define image sources

Explicitely refering to docker.io will make the build succeed on software such as podman which does not default to docker.io as the standard image source

* Dockerfiles: use the full legal docker.io/library name just in case

Signed-off-by: Xe Iaso <me@xeiaso.net>

* update CHANGELOG

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
Co-authored-by: Xe Iaso <me@xeiaso.net>
2025-03-20 17:28:30 -04:00

10 lines
No EOL
252 B
Docker

FROM docker.io/library/node AS build
WORKDIR /app
COPY . .
RUN npm ci && npm run build
FROM docker.io/library/nginx:alpine
COPY --from=build /app/build /usr/share/nginx/html
LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis"