Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Import Process
Import API
Commits
255f028b
Commit
255f028b
authored
Apr 13, 2021
by
Matthias
Browse files
set flask environment to production
parent
dc6baa5b
Pipeline
#24540
passed with stages
in 2 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
255f028b
...
...
@@ -17,7 +17,7 @@ WORKDIR /
ADD
setup.py /
RUN
pip
install
-e
.
ENV
FLASK_APP import_api_app
#
ENV FLASK_ENV
development
ENV
FLASK_ENV
production
EXPOSE
5000
ENTRYPOINT
["python"]
CMD
["/import_api_app/main.py"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment