-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renovate and migrate application to docker
- Loading branch information
Showing
15 changed files
with
515 additions
and
537 deletions.
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
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
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,17 @@ | ||
FROM python:3.7-alpine | ||
|
||
WORKDIR /api | ||
|
||
ENV FLASK_APP=api.py | ||
|
||
ENV FLASK_RUN_HOST=0.0.0.0 | ||
|
||
RUN apk add gcc libc-dev jpeg-dev zlib-dev libxml2 libxslt-dev | ||
|
||
RUN pip install flask pytz njupt | ||
|
||
EXPOSE 5000 | ||
|
||
COPY . . | ||
|
||
CMD ["flask", "run"] |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.