Probare con laravel que tal <3

This commit is contained in:
Daniel Cortés
2019-06-16 14:21:35 -04:00
parent 57cd65167d
commit 9e641d6a89
119 changed files with 13656 additions and 1704 deletions

View File

@@ -1,16 +0,0 @@
FROM python:alpine
RUN mkdir /app
COPY requirements.txt gunicorn.conf run.py /app/
COPY www/ /app/www
ENV FLASK_APP=www
WORKDIR /app
RUN apk add mariadb-connector-c-dev gcc musl-dev
RUN pip install --no-cache-dir -r requirements.txt
RUN apk del gcc musl-dev
ENV GUNICORN_WORKERS 2
ENV GUNICORN_BIND 0.0.0.0:8081
EXPOSE 8081
CMD ["gunicorn", "--config", "gunicorn.conf", "run:app"]