Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
slippersheepig authored Dec 30, 2023
1 parent a8234fd commit 3d6ff2e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM python:slim AS builder
RUN apt update && apt install git -y
FROM alpine AS builder
RUN apk add --no-cache git
RUN git clone https://github.com/rabilrbl/gemini-pro-bot.git /gemini
RUN pip install --no-cache-dir -r /gemini/requirements.txt

FROM python:alpine
FROM python:slim
WORKDIR /gemini
COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
COPY --from=builder /usr/local/bin /usr/local/bin
COPY --from=builder /gemini .
RUN pip install --no-cache-dir -r requirements.txt

CMD [ "python3", "main.py" ]
CMD [ "python", "main.py" ]

0 comments on commit 3d6ff2e

Please sign in to comment.