mirror of
https://github.com/netzbegruenung/schaufenster.git
synced 2024-05-07 19:43:41 +02:00
Adding Dockerfile
This commit is contained in:
parent
1fcc52925e
commit
addbc6b140
11
service/Dockerfile
Normal file
11
service/Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM python:3.6-alpine3.6
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
EXPOSE 5000
|
||||||
|
|
||||||
|
ENTRYPOINT ["gunicorn", "--bind=0.0.0.0:5000", "api.main:app"]
|
Loading…
Reference in a new issue