From ce1983fa35653e789869fdf50bbf3ea2db9a1c7e Mon Sep 17 00:00:00 2001 From: gosha20777 Date: Mon, 23 Nov 2020 20:34:41 +0300 Subject: [PATCH] fix: dockerfiles --- app/cpu.dockerfile | 3 +-- app/gpu.dockerfile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/cpu.dockerfile b/app/cpu.dockerfile index 183c4c4..992cf17 100644 --- a/app/cpu.dockerfile +++ b/app/cpu.dockerfile @@ -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"] \ No newline at end of file +CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "5000"] \ No newline at end of file diff --git a/app/gpu.dockerfile b/app/gpu.dockerfile index 0ed83a4..3914d8c 100644 --- a/app/gpu.dockerfile +++ b/app/gpu.dockerfile @@ -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"] \ No newline at end of file +CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "5000"] \ No newline at end of file