push the right docker file
This commit is contained in:
parent
401fe96988
commit
d35adf482f
@ -6,6 +6,9 @@ FROM python:3.7-slim-stretch
|
|||||||
COPY --from=builder ./dist /dist/
|
COPY --from=builder ./dist /dist/
|
||||||
COPY ./backend /dist/
|
COPY ./backend /dist/
|
||||||
WORKDIR /dist
|
WORKDIR /dist
|
||||||
|
RUN RUN apt-get update && apt-get install -y \
|
||||||
|
libevent-dev \
|
||||||
|
python-all-dev
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
EXPOSE 5001
|
EXPOSE 5001
|
||||||
ENTRYPOINT ["python", "/dist/__init__.py"]
|
ENTRYPOINT ["python", "/dist/__init__.py"]
|
Loading…
Reference in New Issue
Block a user