This commit is contained in:
+4
-4
@@ -1,11 +1,11 @@
|
|||||||
FROM node:20-alpine AS base
|
FROM node:20-alpine AS base
|
||||||
|
|
||||||
# Change Alpine repo
|
# Change Alpine repo
|
||||||
RUN sed -i 's|https://dl-cdn.alpinelinux.org/alpine|https://mirror.de.velop.ir/alpine|g' /etc/apk/repositories
|
# RUN sed -i 's|https://dl-cdn.alpinelinux.org/alpine|https://mirror.de.velop.ir/alpine|g' /etc/apk/repositories
|
||||||
|
|
||||||
# Configure npm registry mirror (Liara)
|
# Configure npm registry mirror (Liara)
|
||||||
ENV NPM_CONFIG_REGISTRY=https://mirror-npm.runflare.com
|
# ENV NPM_CONFIG_REGISTRY=https://mirror-npm.runflare.com
|
||||||
RUN npm config set registry https://mirror-npm.runflare.com
|
# RUN npm config set registry https://mirror-npm.runflare.com
|
||||||
|
|
||||||
# Install tzdata to support timezone settings
|
# Install tzdata to support timezone settings
|
||||||
# RUN apk add --no-cache tzdata && \
|
# RUN apk add --no-cache tzdata && \
|
||||||
@@ -15,7 +15,7 @@ RUN npm config set registry https://mirror-npm.runflare.com
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
RUN apk add --no-cache libc6-compat git
|
# RUN apk add --no-cache libc6-compat git
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci --legacy-peer-deps --ignore-scripts --loglevel info
|
RUN npm ci --legacy-peer-deps --ignore-scripts --loglevel info
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// export const API_BASE_URL = "https://dmenuplus-api.dev.danakcorp.com";
|
// export const API_BASE_URL = "https://dmenuplus-api-production.dev.danakcorp.com";
|
||||||
export const API_BASE_URL = "https://dmenu-api.danakcorp.com";
|
export const API_BASE_URL = "https://dmenu-api.danakcorp.com";
|
||||||
// export const API_BASE_URL = "http://192.168.99.131:2000";
|
// export const API_BASE_URL = "http://192.168.99.131:2000";
|
||||||
export const TOKEN_NAME = "dmenu-t";
|
export const TOKEN_NAME = "dmenu-t";
|
||||||
|
|||||||
Reference in New Issue
Block a user