We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29cf73b + 988ee6b commit c054fdaCopy full SHA for c054fda
docker/Dockerfile
@@ -1,15 +1,12 @@
1
-FROM python:3.8-slim-buster
+FROM python:3.8-buster
2
3
WORKDIR pypfopt
4
COPY pyproject.toml poetry.lock ./
5
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 && \
+RUN pip install --upgrade pip==21.0.1 && \
9
pip install "poetry==1.1.4" && \
10
pip install yfinance && \
11
- poetry install -E optionals --no-root && \
12
- apt-get purge -y --auto-remove $buildDeps
+ poetry install -E optionals --no-root
13
14
COPY . .
15
0 commit comments