remove mirrors
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 && \
|
||||||
@@ -46,4 +46,4 @@ ENV PORT=3000
|
|||||||
ENV HOSTNAME="0.0.0.0"
|
ENV HOSTNAME="0.0.0.0"
|
||||||
ENV NEXT_PUBLIC_API_BASE_URL=https://api.danakcorp.com/
|
ENV NEXT_PUBLIC_API_BASE_URL=https://api.danakcorp.com/
|
||||||
|
|
||||||
CMD ["node", "server.js"]
|
CMD ["node", "server.js"]
|
||||||
|
|||||||
Reference in New Issue
Block a user