Update Dockerfile
This commit is contained in:
parent
5b6ac76d24
commit
63842fea2a
@ -2,14 +2,10 @@
|
||||
# COPY ./frontend .
|
||||
# RUN npm install
|
||||
# RUN npm run build
|
||||
FROM python:3.7-slim-stretch
|
||||
FROM python:3.7
|
||||
# COPY --from=builder ./dist /dist/
|
||||
COPY ./backend /dist/
|
||||
WORKDIR /dist
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libevent-dev \
|
||||
python-all-dev \
|
||||
gcc
|
||||
RUN pip install -r requirements.txt
|
||||
EXPOSE 5001
|
||||
ENTRYPOINT ["python", "/dist/__init__.py"]
|
||||
|
Loading…
Reference in New Issue
Block a user