Spaces:
Sleeping
Sleeping
File size: 395 Bytes
74e10e4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# 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"] |