Spaces:
Sleeping
Sleeping
# Build the base image | |
FROM circulartextapp/spaceread | |
# 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"] |