Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/docker build #22

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ RUN echo "Oh dang look at that $INSTALL_FFMPEG"
RUN if [ ${INSTALL_FFMPEG} = true ]; then \
apt-get install -y ffmpeg \
;fi
RUN ffmpeg -version
RUN ffmpeg -version
RUN ffmpeg -encoders
RUN ffmpeg -decoders

RUN apt-get install curl -y

# Install Poetry
RUN if [ ! -e /usr/local/bin/poetry ]; then \
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python && \
cd /usr/local/bin && \
ln -s /opt/poetry/bin/poetry && \
poetry config virtualenvs.create false \
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ To get a local copy up and running follow these simple example steps.
1. Change docker-compose.dev.yml to docker-compose.yml
2.
```sh
docker-compose build api
docker compose build --build-arg INSTALL_FFMPEG=true api
```
3. Start the service
```sh
Expand Down