Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomatos-dme committed Sep 16, 2020
1 parent b206b38 commit 5ce9afa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ FROM python:3.6

WORKDIR /pep

# Add code
COPY src/ .
COPY src/requirements.txt .

RUN pip install -r requirements.txt

# Add code
COPY src/ .

# Declare and expose service listening port
EXPOSE 5566/tcp

# Declare entrypoint of that exposed service
ENTRYPOINT ["python3", "./main.py"]
ENTRYPOINT ["python3", "-u", "./main.py"]

0 comments on commit 5ce9afa

Please sign in to comment.