Spaces:
Running
Running
File size: 491 Bytes
9adc040 34cbe2a 9adc040 6219b0b e7d3d9f 98ba2b0 482b878 6497308 c0feb85 495807f 6219b0b |
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
|