Skip to content

Commit

Permalink
Install dev dependencies in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
dalonsoa committed Jan 16, 2024
1 parent c7e7d62 commit e74a7bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ CMD ["/usr/local/bin/init.sh"]

# django
COPY requirements.txt .
COPY requirements-dev.txt .
RUN apt-get update && apt-get install -y --no-install-recommends libmagic1 && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r requirements-dev.txt
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN mkdir log
Expand Down

0 comments on commit e74a7bb

Please sign in to comment.