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

Install dependencies before the code

parent ccae5ebe
No related branches found
No related tags found
No related merge requests found
......@@ -13,10 +13,11 @@ FROM python:3-alpine
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
COPY hiboo /app/hiboo
COPY migrations /app/migrations
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