Skip to content

Commit

Permalink
Do not compile Python code in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Aug 23, 2023
1 parent 935da0d commit 8462597
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ RUN apk --no-cache add python3

COPY clean_registry.py /usr/local/bin/clean_registry.py

RUN python3 -OO -m compileall /usr/local/bin/clean_registry.py

ENTRYPOINT ["/usr/bin/python3", "/usr/local/bin/clean_registry.py"]
CMD []

0 comments on commit 8462597

Please sign in to comment.