Skip to content

Commit c054fda

Browse files
Merge pull request #316 from tschm/patch-1
Update Dockerfile
2 parents 29cf73b + 988ee6b commit c054fda

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docker/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
FROM python:3.8-slim-buster
1+
FROM python:3.8-buster
22

33
WORKDIR pypfopt
44
COPY pyproject.toml poetry.lock ./
55

6-
RUN buildDeps='gcc g++' && \
7-
apt-get update && apt-get install -y $buildDeps --no-install-recommends && \
8-
pip install --upgrade pip==21.0.1 && \
6+
RUN pip install --upgrade pip==21.0.1 && \
97
pip install "poetry==1.1.4" && \
108
pip install yfinance && \
11-
poetry install -E optionals --no-root && \
12-
apt-get purge -y --auto-remove $buildDeps
9+
poetry install -E optionals --no-root
1310

1411
COPY . .
1512

0 commit comments

Comments
 (0)