Skip to content
Snippets Groups Projects
Commit 41ab71ff authored by kaiyou's avatar kaiyou
Browse files

Specify the flask app in the image

parent 0da8888b
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,9 @@ RUN apk add --no-cache xmlsec \
&& mkdir /app
WORKDIR /app
COPY hiboo /app/hiboo
COPY migrations /app/migrations
COPY --from=python_build /usr/local/ /usr/local/
COPY --from=assets_build /hiboo/static /app/hiboo/static
ENV FLASK_APP hiboo
CMD gunicorn -w 4 -b :80 --access-logfile - --error-logfile - --preload 'hiboo:create_app()'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment