Skip to content

Commit

Permalink
chore: update docker env value format
Browse files Browse the repository at this point in the history
  • Loading branch information
damingerdai committed Jul 27, 2024
1 parent 2a934a4 commit bcbad4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:20.13.1 AS builder

ENV SELF_SIGNED_CERT_IN_CHAIN=true
ENV NODE_TLS_REJECT_UNAUTHORIZED=0
ENV SELF_SIGNED_CERT_IN_CHAIN true
ENV NODE_TLS_REJECT_UNAUTHORIZED 0
RUN npm config set strict-ssl false
RUN yarn config set strict-ssl false

Expand All @@ -13,7 +13,7 @@ RUN yarn install
COPY . .
RUN yarn build

# FROM nginx:1.16.1
# FROM nginx:1.25.4
# COPY _nginx/default.conf /etc/nginx/conf.d/
# WORKDIR /usr/share/nginx/html
# RUN rm -rf ./*
Expand Down

0 comments on commit bcbad4a

Please sign in to comment.