Spaces:
Runtime error
Runtime error
gth commited on
Commit ·
c9278b5
1
Parent(s): 285e32a
add PDF reader
Browse files6 unmodified lines7891011121314151 unmodified line171819202122232425262719286 unmodified lines git \ && rm -rf /var/lib/apt/lists/*
# Create a non-root userRUN useradd -m appuser
WORKDIR /app
COPY . /app1 unmodified line# Install Python dependenciesRUN pip install --no-cache-dir -r requirements.txt
# Change ownership of the /app directory to appuserRUN chown -R appuser:appuser /app
# Switch to the non-root userUSER appuser
EXPOSE 7861
CMD ["python", "app.py"]CMD ["python", "app.py"]Dockerfile+10-1