Spaces:
Sleeping
Sleeping
File size: 491 Bytes
9575d55 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
FROM python:3.9
COPY requirements.txt /
RUN pip install -r /requirements.txt
RUN apt-get -y update && apt-get -y install nginx
WORKDIR /app
COPY ./ /app
COPY nginx.conf /etc/nginx/nginx.conf
RUN chmod 777 /app/startup.sh
RUN chmod -R 777 /etc/nginx
RUN chmod -R 777 /var/lib/
RUN chmod -R 777 /var/log/
RUN mkdir /.cache
RUN chmod -R 777 /.cache
RUN chmod -R 777 /app/datagrids
RUN chmod -R 777 /usr/local/lib/python3.9/site-packages/kangas/frontend/standalone/.next/
CMD /app/startup.sh
|