add requirements.txt and Dockerfile
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal 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
|
Reference in New Issue
Block a user