Skip to content

Commit

Permalink
Added Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Echsecutor committed Aug 12, 2020
1 parent 4efe307 commit dc9bf57
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM python:3.8-alpine

WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install -r requirements.txt

RUN mkdir -p /usr/src/epcis
WORKDIR /usr/src/epcis

# run this like
# docker run -v `pwd`:/usr/src/epcis epcis-hash -b my-events.json

COPY . /usr/src/app/
ENTRYPOINT [ "python", "/usr/src/app/epcis_event_hash_generator/main.py" ]
CMD ["-h"]

0 comments on commit dc9bf57

Please sign in to comment.