mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-12 02:23:17 +03:30
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed438ecf73 | ||
|
|
bcd2778538 | ||
|
|
6d786879c7 | ||
|
|
f3b54faac7 | ||
|
|
2f679b034e | ||
|
|
76395401bd | ||
|
|
bbb38b6738 |
+9
-6
@@ -1,5 +1,7 @@
|
|||||||
#FROM --platform=linux/amd64 git.meshkee.com/packages/node:14 AS build-stage
|
# Build Stage
|
||||||
FROM --platform=linux/amd64 git.meshkee.com/cssd/cssd-front:1.0.2 AS 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
|
ARG REGISTRY_TOKEN
|
||||||
|
|
||||||
@@ -9,13 +11,13 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY package*.json ./
|
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 //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 ./ .
|
COPY ./ .
|
||||||
|
|
||||||
@@ -24,3 +26,4 @@ RUN npm run build
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD [ "node", ".output/server/index.mjs" ]
|
CMD [ "node", ".output/server/index.mjs" ]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user