Skip to content

Commit

Permalink
simplify docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
n0str committed Sep 12, 2024
1 parent 0183a85 commit 9765fb8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions docker/Dockerfile.demo
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,5 @@ WORKDIR /app
COPY ./example/requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

FROM python:3.10-alpine AS final-stage

WORKDIR /app

COPY --from=build-stage /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
COPY --from=build-stage /usr/local/bin /usr/local/bin

COPY ./example/fill_events.py ./fill_events.py
CMD ["python", "./fill_events.py"]
CMD ["python", "./fill_events.py"]

0 comments on commit 9765fb8

Please sign in to comment.