silly things :3
This commit is contained in:
parent
2750b5fa78
commit
e07865d607
4 changed files with 39 additions and 2 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM python:3.12
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY ./main.py ./
|
||||
COPY ./tools.py ./
|
||||
COPY ./.env ./
|
||||
|
||||
RUN useradd app
|
||||
USER app
|
||||
CMD ["python", "main.py"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue