From 562dc746c5b065b9f7f010ae7fd07dfe4e1af94d Mon Sep 17 00:00:00 2001 From: AsmSafone <77989182+AsmSafone@users.noreply.github.com> Date: Thu, 20 Jun 2024 18:17:19 +0600 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1c68e2d..587fdaa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:latest +FROM python:3.9-slim-buster # Updating Packages RUN apt update && apt upgrade -y @@ -11,9 +11,14 @@ COPY requirements.txt /requirements.txt RUN cd / RUN pip3 install --upgrade pip RUN pip3 install -U -r requirements.txt + +# Setting up working directory RUN mkdir /MusicPlayer WORKDIR /MusicPlayer + +# Preparing for the Startup COPY startup.sh /startup.sh +RUN chmod +x /startup.sh # Running Music Player Bot CMD ["/bin/bash", "/startup.sh"]