Update first commit

This commit is contained in:
Andros Fenollosa
2021-03-07 18:15:29 +01:00
parent 314da79cb1
commit 39ee119a22
25 changed files with 616 additions and 0 deletions

View File

@ -0,0 +1,21 @@
FROM debian:stable-slim
ENV PYTHONUNBUFFERED: 1
# set work directory
WORKDIR /usr/src/app
# install software
RUN apt update
RUN apt install -y build-essential cron python3-pip gettext
# install dependencies
RUN pip3 install --upgrade pip
COPY ./requirements.txt .
RUN pip3 install -r requirements.txt
# launcher
COPY django-launcher.dev.sh /django-launcher.dev.sh
COPY django-launcher.pro.sh /django-launcher.pro.sh
RUN chmod +x /django-launcher.dev.sh
RUN chmod +x /django-launcher.pro.sh