Files
cssd-front/Dockerfile
T
2026-04-07 06:36:34 +00:00

29 lines
531 B
Docker

# Build Stage
#FROM docker.meshkee.com/repository/docker-hosted/node:22-alpine as build-stage
FROM --platform=linux/amd64 git.meshkee.com/cssd/cssd-front:1.0.2 AS build-stage
ARG REGISTRY_TOKEN
ARG REGISTRY_PROXY
WORKDIR /app
COPY package*.json ./
#RUN npm config set registry=https://npm.parmincloud.ir
#
# RUN npm config set //repo.meshkee.com/repository/:_auth=$REGISTRY_TOKEN
#
# RUN npm config set strict-ssl=false
#RUN npm install
COPY ./ .
RUN npm run build
EXPOSE 3000
CMD [ "node", ".output/server/index.mjs" ]