Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Dockerfiles/Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#FROM python:3.7.2-alpine3.8
FROM python:3.7.2-stretch

WORKDIR /usr/share/app

COPY . .

RUN pip install matplotlib numpy python-dotenv pymatgen
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
build-dev-env:
docker image build \
-f $(PWD)/Dockerfiles/Dockerfile-dev \
-t phase-diagram-utils:0.1 $(PWD)

run-dev-env:
docker container run \
--rm \
--volume="$(PWD):/usr/share/app" \
--label="phase-diagram-utils" \
-it \
phase-diagram-utils:0.1 \
bash