Skip to content

Commit

Permalink
[NORTHFLANK] updated Dockerfile contents
Browse files Browse the repository at this point in the history
  • Loading branch information
northflank-cloud-build-run[bot] authored Mar 27, 2024
1 parent 7038be5 commit 38ecdba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM python:3-slim AS compile-image
FROM python:3.10-slim AS compile-image
RUN apt-get update -y && mkdir /app && python3 -m venv /app/venv
ENV PATH="/app/venv/bin:$PATH"
COPY . /app
WORKDIR /app
RUN pip3 install streamsync && pip3 install -r requirements.txt

FROM python:3-slim AS run-image
FROM python:3.10-slim AS run-image
RUN apt-get update -y && mkdir /app
COPY --from=compile-image /app /app
ENV PATH="/app/venv/bin:$PATH"
WORKDIR /app

ENTRYPOINT [ "streamsync", "run" ]
EXPOSE 5000
CMD [ ".", "--port", "5000", "--host", "0.0.0.0" ]
CMD [ ".", "--port", "5000", "--host", "0.0.0.0" ]

0 comments on commit 38ecdba

Please sign in to comment.