chore: make dockerfile work

This commit is contained in:
Vjacheslav Trushkin 2025-11-27 20:31:47 +02:00
parent 407792e2bc
commit a3d158f99c
2 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
ARG ARCH=amd64
ARG NODE_VERSION=18
ARG NODE_VERSION=22
ARG OS=bullseye-slim
ARG ICONIFY_API_VERSION=3.1.1
ARG ICONIFY_API_VERSION=3.2.0
ARG SRC_PATH=./
#### Stage BASE ########################################################################################################
FROM ${ARCH}/node:${NODE_VERSION}-${OS} AS base
FROM --platform=${ARCH} node:${NODE_VERSION}-${OS} AS base
# This gives node.js apps access to the OS CAs
ENV NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
@ -53,8 +53,8 @@ COPY ${SRC_PATH}icons/ /data/iconify-api/icons/
# Build API
RUN npm run build
#### Stage RELEASE #####################################################################################################
FROM iconify-api-install AS RELEASE
#### Stage release #####################################################################################################
FROM iconify-api-install AS release
ARG BUILD_DATE
ARG BUILD_VERSION
ARG BUILD_REF

0
docker.sh Normal file → Executable file
View File