From 478154f92d2d7cbb8ab55745031c4ff075993838 Mon Sep 17 00:00:00 2001 From: Paillat Date: Sat, 10 Dec 2022 00:33:56 +0100 Subject: [PATCH] Update Dockerfile --- docker/Build/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Build/Dockerfile b/docker/Build/Dockerfile index a3320a1..fa4c477 100644 --- a/docker/Build/Dockerfile +++ b/docker/Build/Dockerfile @@ -14,7 +14,9 @@ RUN pip install -r requirements.txt RUN git clone https://github.com/Paillat-dev/Botator.git WORKDIR /Botator/code/ COPY key.txt /Botator/code/ +COPY premiumkey.txt /Botator/code/ + # Creates a non-root user with an explicit UID and adds permission to access the /app folder RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /Botator/code USER appuser -CMD ["python", "code.py"] +CMD ["python", "code.py;premiumcode.py"]