Compare commits
No commits in common. "dbdbf2a3d97cd37dc0931a2497a47cbb43bc0fcc" and "8122de2c5238654bb22275323087f1b6ce0ad272" have entirely different histories.
dbdbf2a3d9
...
8122de2c52
@ -1,9 +1,7 @@
|
|||||||
FROM alpine:latest
|
FROM python:latest
|
||||||
RUN apk update && apk add python3 py3-pip
|
|
||||||
ADD . /opt/imgs
|
ADD . /opt/imgs
|
||||||
RUN mkdir -p /opt/imgs/uploads
|
RUN mkdir -p /opt/imgs/uploads
|
||||||
WORKDIR /opt/imgs
|
WORKDIR /opt/imgs
|
||||||
RUN pip install --upgrade pip && pip install --requirement requirements.txt
|
RUN pip install --upgrade pip && pip install --requirement requirements.txt
|
||||||
RUN pip install gunicorn
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
CMD gunicorn imgs:app --bind :5000
|
CMD gunicorn imgs:app --bind :5000
|
||||||
|
@ -1 +1,2 @@
|
|||||||
bottle==0.12.19
|
bottle==0.12.19
|
||||||
|
gunicorn==20.1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user