Skip to content

Commit

Permalink
Merge pull request #130 from lacmus-foundation/inference_v2
Browse files Browse the repository at this point in the history
fix: dockerfiles
  • Loading branch information
gosha20777 authored Nov 23, 2020
2 parents b5a0541 + ce1983f commit f1cae0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/cpu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@ RUN pip3 install . --user \
WORKDIR /opt/lacmus/app
EXPOSE 5000/tcp
EXPOSE 5000/udp
ENV TEST="test"

ENTRYPOINT ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "5000"]
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "5000"]
3 changes: 1 addition & 2 deletions app/gpu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@ RUN pip3 install . --user \
WORKDIR /opt/lacmus/app
EXPOSE 5000/tcp
EXPOSE 5000/udp
ENV TEST="test"

ENTRYPOINT ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "5000"]
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "5000"]

0 comments on commit f1cae0d

Please sign in to comment.