cleaned up
This commit is contained in:
parent
e98ab79e97
commit
eadda69ec2
11
dockerfile
11
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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user