kangas-demo / Dockerfile
CalebCometML's picture
Update Dockerfile
6497308
raw
history blame
369 Bytes
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
CMD /app/startup.sh