feat:#65 increased OCI image base images versions, slightly optimized Dockerfiles and adjust docker-compose.yml's to make them OCI compliant

This commit is contained in:
Justin Kreller
2025-03-11 22:11:07 +01:00
parent 3e6e53dccf
commit 8745dede72
7 changed files with 24 additions and 28 deletions

View File

@ -15,7 +15,7 @@
#along with this program. If not, see <https://www.gnu.org/licenses/>.
# build stage
FROM node:lts-alpine AS build
FROM docker.io/node:lts-alpine AS build
WORKDIR /app
COPY package*.json ./
@ -24,7 +24,7 @@ COPY / ./
RUN npm run build
# development stage
FROM node:lts-alpine AS dev
FROM docker.io/node:lts-alpine AS dev
WORKDIR /app
COPY package*.json ./
@ -33,7 +33,7 @@ COPY . ./
# production stage
# https://hub.docker.com/r/bitnami/nginx -> always run as non-root user
FROM bitnami/nginx:1.25 AS prod
FROM docker.io/bitnami/nginx:1.27 AS prod
# copy build files from build container
COPY --from=build /app/dist /app