Spaces:
Running
Running
File size: 245 Bytes
078c1e1 |
1 2 3 4 5 6 7 8 9 10 |
FROM python:3.7-slim
WORKDIR /webapp
COPY . .
RUN chmod +x /webapp/start.sh
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
RUN apt update && apt install -y redis-server
EXPOSE 7860 6379
CMD ["/webapp/start.sh"]
|