From eadda69ec2ef021180d503199798f42447565ae5 Mon Sep 17 00:00:00 2001 From: ocueye Date: Thu, 21 Nov 2024 15:59:11 +0000 Subject: [PATCH] cleaned up --- dockerfile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/dockerfile b/dockerfile index ad53f62..1dc76c5 100644 --- a/dockerfile +++ b/dockerfile @@ -1,16 +1,13 @@ -# Start with your base image FROM python:3.12.3-slim - -# Set the working directory in the container WORKDIR /app -# Install any needed packages specified in requirements.txt + RUN pip install cherrypy pillow qrcode -# Copy the rest of your application code into the container at /app +RUN apt-get update +RUN apt-get install nano + COPY . . -# Make port 8080 available to the world outside this container EXPOSE 8170 -# Run app.py when the container launches CMD ["python", "start.py"]