Update all

This commit is contained in:
sebastianserfling
2024-09-24 21:04:41 +02:00
parent 25af35f723
commit 9bde6e380b
8 changed files with 72 additions and 35 deletions
+1 -3
View File
@@ -3,7 +3,7 @@ FROM debian:latest
RUN apt update
RUN apt upgrade -y
RUN apt install -y git make gcc
RUN apt install -y apt-file cpanminus libc6-dev libssl-dev python3 python3-pip python3-dotenv libio-socket-inet6-perl
RUN apt install -y apt-file libio-socket-inet6-perl cpanminus libc6-dev libssl-dev python3 python3-pip python3-dotenv
RUN apt install -y libperl-dev zlib1g-dev libnet-ssleay-perl
RUN cpanm App::cpanminus Authen::NTLM CGI Compress::Zlib Crypt::OpenSSL::RSA Data::Dumper Data::Uniqid Dist::CheckConflicts Encode Encode::IMAPUTF7 File::Copy::Recursive File::Tail IO::Socket::INET IO::Socket::INET6 IO::Socket::SSL IO::Tee JSON JSON::WebToken LWP::UserAgent Mail::IMAPClient Module::ScanDeps PAR::Packer Pod::Usage Readonly Regexp::Common Sys::MemInfo Term::ReadKey Test::MockObject Test::More Test::Pod Unicode::String; exit 0
RUN apt install -y libproc-processtable-perl python3-requests iputils-ping
@@ -18,5 +18,3 @@ WORKDIR /app/
COPY ../python_scripte/imapsync.py .
COPY ../python_scripte/.env .
ENTRYPOINT [ "python3","-u", "/app/imapsync.py" ]
#RUN impasync-script
+3 -3
View File
@@ -11,13 +11,13 @@ RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install -r /app/requirements.txt
EXPOSE 80
COPY ../python_scripte/streamlit-app.py /app/
COPY ../python_scripte/requirements.txt /app/
RUN pip3 install -r /app/requirements.txt
HEALTHCHECK CMD curl --fail http://localhost:80/_stcore/health
ENTRYPOINT ["streamlit", "run", "/app/streamlit-app.py", "--server.port=80", "--server.address=0.0.0.0"]
ENTRYPOINT ["streamlit", "run", "/app/streamlit-app.py", "--server.port=80", "--server.address=0.0.0.0"]