From 61b972cf434596333894f91dc28cd290b729c4c0 Mon Sep 17 00:00:00 2001 From: crate Date: Sun, 8 Jun 2025 19:03:44 -0500 Subject: [PATCH] add requirements.txt and Dockerfile --- Dockerfile | 16 ++++++++++++++++ README.md | 3 ++- requirements.txt | 2 ++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 Dockerfile create mode 100644 requirements.txt diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..682c53e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM ubuntu:24.04 + +RUN apt-get update && apt-get install -y \ + python3 \ + python3-pip \ + python3-dev \ + build-essential \ + && rm -rf /var/lib/apt/lists/* + +WORKDIR /app + +COPY . . +RUN pip3 install -r requirements.txt +RUN pip3 install pyinstaller + +RUN pyinstaller --onefile --windowed --icon=icon.png --name="Encrypto" encrypto.py diff --git a/README.md b/README.md index b78aa4c..6268629 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,5 @@ Encrypto is a lightweight application for encrypting and decrypting personal fil Simply select your file, encryption algorightm, encrypt or decrypt, enter your password of choice, and click the button. -Have a nice day! +## Installation + diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f260945 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +cryptography +tk