Skip to content

Commit df716b7

Browse files
author
Nick Canzoneri
committed
Modify dockerfile to allow requirements to get pulled from setup.py
1 parent f8b6ef8 commit df716b7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ FROM python:3.7.7-slim-buster
33
COPY .streamlit ~/
44

55
COPY ./requirements.txt /app/requirements.txt
6+
COPY ./README.md /app/README.md
7+
COPY ./setup.py /app/setup.py
8+
RUN mkdir /app/src
69

710
WORKDIR /app
811

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"streamlit",
2424
"pandas",
2525
"numpy",
26-
"altair"
26+
"altair",
27+
"pytest"
2728
],
2829
classifiers=[
2930
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)