diff --git a/Dockerfile b/Dockerfile index 10a33c2..4c9766f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" @@ -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"] diff --git a/requirements.prod.txt b/requirements.prod.txt index 4819eff..a130e1d 100644 --- a/requirements.prod.txt +++ b/requirements.prod.txt @@ -34,4 +34,3 @@ cloudevents==1.10.1 deprecation==2.1.0 packaging==23.2 structlog==23.2.0 -pyinstaller==6.3.0