add requirements.txt and Dockerfile

This commit is contained in:
2025-06-08 19:03:44 -05:00
parent 88648d8a1c
commit 61b972cf43
3 changed files with 20 additions and 1 deletions

16
Dockerfile Normal file
View File

@ -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

View File

@ -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. Simply select your file, encryption algorightm, encrypt or decrypt, enter your password of choice, and click the button.
Have a nice day! ## Installation

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
cryptography
tk