diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..e5edbbb --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VITE_DIRECTUS_URL=https://db.hejyou.com diff --git a/Dockerfile b/Dockerfile index e3139e1..8b6b294 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,6 @@ COPY package*.json ./ RUN npm ci COPY . . - -ARG VITE_DIRECTUS_URL -ENV VITE_DIRECTUS_URL=$VITE_DIRECTUS_URL - RUN npm run build FROM nginx:alpine