Speed_Read_AI / Dockerfile
circulartext's picture
Update Dockerfile
6818337
raw
history blame
385 Bytes
# Build the base image
FROM python:3.8-slim
# Create a new user for each instance of the app
RUN useradd -m -u $UID user
# Switch to the new user
USER user
# Set the working directory
WORKDIR /home/user/app
# Copy your app code into the container
COPY . /home/user/app
# Install your app's dependencies
RUN pip install -r requirements.txt
# Run your app
CMD ["python", "main.py"]