Skip to content

Commit

Permalink
fix: dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
gosha20777 committed Nov 23, 2020
1 parent 50c7f7c commit ce1983f
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 ce1983f

Please sign in to comment.