Skip to content

Commit

Permalink
docker base image changed to handle opencv
Browse files Browse the repository at this point in the history
  • Loading branch information
Atomnp committed Oct 16, 2022
1 parent e6b2194 commit 2f11e1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM python:3.9.7-alpine
FROM python:3.8-slim-buster

RUN pip install --upgrade pip

COPY ./requirements.txt .

# This installs dependencies needed for opencv
RUN apt-get update -y && apt-get install ffmpeg libsm6 libxext6 -y

RUN pip install -r requirements.txt
ENV PYTHONUNBUFFERED=1
# COPY ./myproject /app
Expand Down

0 comments on commit 2f11e1f

Please sign in to comment.