workouttest_backoffice/Dockerfile
Tibor Bossanyi (Freelancer) e980928e4d BO1.28+3
2021-09-17 16:32:30 +02:00

16 lines
359 B
Docker

FROM python:3.7
WORKDIR /aitrainer_backoffice
ADD . /aitrainer_backoffice/
RUN /usr/local/bin/python -m pip install --upgrade pip
RUN apt-get update && apt-get install vim -y
RUN pip3 install uwsgi
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY uwsgi_params /var/www/aitrainer.info/
COPY .key ./
ENV PORT=8000
EXPOSE 8000