Compare commits

..
7 Commits
Author SHA1 Message Date
alireza-hassani ed438ecf73 Update Dockerfile 2026-04-07 08:40:28 +00:00
alireza-hassani bcd2778538 Update Dockerfile 2026-04-07 08:40:12 +00:00
alireza-hassani 6d786879c7 Update Dockerfile 2026-04-07 06:57:39 +00:00
alireza-hassani f3b54faac7 Update Dockerfile 2026-04-07 06:52:48 +00:00
alireza-hassani 2f679b034e Update Dockerfile 2026-04-07 06:36:34 +00:00
alireza-hassani 76395401bd Update Dockerfile 2026-04-06 18:14:03 +00:00
alireza-hassani bbb38b6738 Update Dockerfile 2026-04-06 18:12:04 +00:00
+9 -6
View File
@@ -1,5 +1,7 @@
#FROM --platform=linux/amd64 git.meshkee.com/packages/node:14 AS build-stage
FROM --platform=linux/amd64 git.meshkee.com/cssd/cssd-front:1.0.2 AS build-stage
# 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
FROM git.meshkee.com/packages/node:14 AS build-stage
ARG REGISTRY_TOKEN
@@ -9,13 +11,13 @@ WORKDIR /app
COPY package*.json ./
#RUN npm config set registry=https://npm.parmincloud.ir
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
RUN npm config set strict-ssl=false
RUN npm install
COPY ./ .
@@ -24,3 +26,4 @@ RUN npm run build
EXPOSE 3000
CMD [ "node", ".output/server/index.mjs" ]