Skip to content

Commit

Permalink
Fix/deployment (#71)
Browse files Browse the repository at this point in the history
feat: added gpac package in consumer container
  • Loading branch information
abskrj authored Sep 18, 2023
1 parent 3e49d27 commit d1ef778
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env-template
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
PORT=8080
RABBITMQ_URI=rabbitmq_uri
MAX_CONCURRENT_PROCESSING=1

GOOGLE_APPLICATION_CREDENTIALS=path of the json file
GCP_BUCKET_NAME=
GCP_PROJECT_ID=

AZURE_ACCOUNT_NAME=azure_account_name
AZURE_ENDPOINT=azure_endpoint
Expand Down
2 changes: 2 additions & 0 deletions consumer.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ FROM ubuntu:latest AS zestream-consumer
WORKDIR /app

COPY --from=builder /app/main ./
COPY --from=builder /app/credentials.json ./

RUN apt update
RUN apt install -y ffmpeg
RUN apt install -y gpac

CMD ["./main", "--consumer"]
1 change: 1 addition & 0 deletions http.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ FROM ubuntu:latest AS zestream-http
WORKDIR /app

COPY --from=builder /app/main ./
COPY --from=builder /app/credentials.json ./

CMD ["./main"]

0 comments on commit d1ef778

Please sign in to comment.