mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-03-11 08:54:34 +00:00
Added basic docker setup
This commit is contained in:
parent
08a8a3e064
commit
d88b3904ff
2 changed files with 11 additions and 1 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM python:3
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["./run.sh"]
|
||||
2
run.sh
2
run.sh
|
|
@ -11,4 +11,4 @@ pkill flask
|
|||
|
||||
# TODO: Set up the following for running over https
|
||||
#--cert=./app/cert.pem --key=./app/key.pem
|
||||
$SCRIPT_DIR/venv/bin/flask run
|
||||
flask run --host="0.0.0.0"
|
||||
|
|
|
|||
Loading…
Reference in a new issue