Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also listen on any interface to ensure docker connectivity instead of localhost
- Loading branch information
Mad Mike
committed
Jul 9, 2020
1 parent
1b9b279
commit 62b71b4
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM tiangolo/uwsgi-nginx-flask:python3.6-alpine3.7 | ||
|
||
ENV STATIC_URL /static | ||
ENV STATIC_PATH /var/www/app/static | ||
|
||
COPY ./requirements.txt /var/www/requirements.txt | ||
|
||
COPY . /app | ||
RUN pip install -r /var/www/requirements.txt | ||
|
||
EXPOSE 8080 | ||
|
||
ENTRYPOINT [ "python" ] | ||
CMD [ "/app/server.py" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters