diff --git a/Dockerfile b/Dockerfile index e023faa..576c96a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,27 +1,24 @@ # Use the official Python image as the base image FROM python:3.12 -# Set the working directory in the container -RUN mkdir -p "/beetseeker" - -WORKDIR ["/beetseeker"] - # Clone the GitHub repository -RUN git clone https://github.com/andrewjmetzger/beetseeker.git . - +RUN git clone https://github.com/andrewjmetzger/beetseeker.git +# Set the working directory in the container +WORKDIR ["/beetseeker"] # Install project dependencies RUN pip install --no-cache-dir -r requirements.txt +COPY "./example_config.py" "./config.py" +RUN chmod +x "./config.py" + # Allow the config to be mounted VOLUME ["/beetseeker/config.py"] -COPY "./example_config.py" "./config.py" -RUN chmod +x "./config.py" # Expose the port the app runs on EXPOSE 8347 # Command to run the application -ENTRYPOINT ["/bin/sh"] \ No newline at end of file +ENTRYPOINT ["python", "main.py"] \ No newline at end of file