update Dockerfile
This commit is contained in:
parent
a64a4c3456
commit
76c3d57f55
@ -19,7 +19,6 @@ COPY *.ts .
|
|||||||
COPY *.json .
|
COPY *.json .
|
||||||
|
|
||||||
# Install dependencies and build the app
|
# Install dependencies and build the app
|
||||||
RUN npm config set registry https://registry.npmmirror.com
|
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
@ -30,7 +29,7 @@ FROM nginx:1.26-alpine3.19 AS runner
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# envs 配置
|
# envs 配置
|
||||||
ENV APP_API_URL http://43.136.175.109:50000
|
ENV APP_API_URL http://localhost:50000
|
||||||
|
|
||||||
# nginx配置文件
|
# nginx配置文件
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf.template
|
COPY nginx.conf /etc/nginx/conf.d/default.conf.template
|
||||||
|
Loading…
x
Reference in New Issue
Block a user