Skip to content

Commit

Permalink
update so matplotlib will install
Browse files Browse the repository at this point in the history
- based on Tom's Baseball project
- need to try a different base image (think it's debian, vs alpine)
- also need to install python-json-report
  • Loading branch information
snychka committed May 21, 2020
1 parent ebfe747 commit 4d4ada5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-alpine
FROM python:3.7-slim-stretch

WORKDIR /src/app/

Expand All @@ -8,6 +8,6 @@ RUN ["pip", "install", "-r", "./requirements.txt"]

COPY . .

RUN addgroup -S projects && adduser -S -H projects -G projects
RUN groupadd projects && useradd --no-create-home -g projects projects
RUN chown -R projects:projects /src/app
USER projects
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ py==1.8.1
pyparsing==2.4.7
pytest==5.4.1
python-dateutil==2.8.1
pytest-json-report==1.2.1
six==1.14.0
wcwidth==0.1.9
zipp==3.1.0

0 comments on commit 4d4ada5

Please sign in to comment.