Skip to content

Commit

Permalink
chore: clean up docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
Neet-Nestor committed May 26, 2024
1 parent 2415846 commit 71c769b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ WORKDIR /app

COPY package.json yarn.lock ./

RUN yarn config set registry 'https://registry.npmmirror.com/'
RUN yarn install

FROM base AS builder

RUN apk update && apk add --no-cache git

ENV OPENAI_API_KEY=""
ENV GOOGLE_API_KEY=""
ENV CODE=""

WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
Expand All @@ -30,11 +25,6 @@ WORKDIR /app

RUN apk add proxychains-ng

ENV PROXY_URL=""
ENV OPENAI_API_KEY=""
ENV GOOGLE_API_KEY=""
ENV CODE=""

COPY --from=builder /app/public ./public
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
Expand Down
38 changes: 0 additions & 38 deletions docker-compose.yml

This file was deleted.

0 comments on commit 71c769b

Please sign in to comment.