Skip to content

Commit ab0b88e

Browse files
committed
Trim dockerfile
1 parent 256f19c commit ab0b88e

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

Dockerfile

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
FROM python:3.7.7-slim-buster
2-
3-
COPY .streamlit ~/
4-
5-
COPY ./README.md /app/README.md
6-
COPY ./setup.py /app/setup.py
7-
RUN mkdir /app/src
8-
2+
RUN mkdir /app
93
WORKDIR /app
10-
4+
COPY .streamlit ~/
5+
COPY README.md .
6+
COPY setup.py .
7+
COPY settings.cfg .
8+
COPY src src
119
RUN pip install -q .
1210

13-
COPY . ./
14-
1511
CMD ["streamlit", "run", "src/app.py"]

0 commit comments

Comments
 (0)