Skip to content

Commit

Permalink
ci: demise pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
piyoki committed Dec 16, 2023
1 parent 016a789 commit 8d6cb03
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
24 changes: 0 additions & 24 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# This is a self-hosted software, liscensed under the Apache License.
# See /License for more information.

# === Build Stage === #
ARG PYTHON_VERSION
ARG APP_DIR="/app"

Expand All @@ -28,26 +27,3 @@ COPY src/ ./

ENTRYPOINT [ "/usr/local/bin/python" ]
CMD [ "index.py" ]

# RUN pyinstaller index.py

# === Prod Stage === #
# FROM debian:bullseye-slim as prod

# ARG APP_DIR

# RUN apt update -y && \
# apt-get install -y --no-install-recommends \
# ca-certificates

# RUN apt-get clean autoclean && \
# apt-get autoremove -y && \
# rm -rf /var/lib/{apt,dpkg,cache,log}/

# WORKDIR ${APP_DIR}

# COPY --from=builder ${APP_DIR}/dist/index/ ./

# RUN chmod +x ./index

# CMD ["./index"]
1 change: 0 additions & 1 deletion requirements.prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ cloudevents==1.10.1
deprecation==2.1.0
packaging==23.2
structlog==23.2.0
pyinstaller==6.3.0

0 comments on commit 8d6cb03

Please sign in to comment.