Skip to content

Commit

Permalink
feat: update Dockefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanberry committed May 19, 2023
1 parent 26a340f commit 7a679bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ RUN apk update && apk add --no-cache git
ENV OPENAI_API_KEY=""
ENV CODE=""

ENV NEXT_PUBLIC_SIDEBAR_TITLE='AI助手'
ENV NEXT_PUBLIC_DOCUMENT_TITLE='有AI随行'
ENV NEXT_PUBLIC_SHOP_URL='https://shop.ez-listen.app'
ENV NEXT_PUBLIC_SHOW_VERSION=''

WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
Expand All @@ -33,11 +38,6 @@ ENV PROXY_URL=""
ENV OPENAI_API_KEY=""
ENV CODE=""

ENV NEXT_PUBLIC_SIDEBAR_TITLE='AI助手'
ENV NEXT_PUBLIC_DOCUMENT_TITLE='有AI随行'
ENV NEXT_PUBLIC_SHOP_URL='https://shop.ez-listen.app'
ENV NEXT_PUBLIC_SHOW_VERSION=''

COPY --from=builder /app/public ./public
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
Expand Down

0 comments on commit 7a679bf

Please sign in to comment.