File: Dockerfile

package info (click to toggle)
python-django-pint 0.7.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 432 kB
  • sloc: python: 1,531; makefile: 28; sh: 12
file content (20 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.8-slim

# install system dependencies

RUN apt-get update

RUN apt-get install -y build-essential libpq-dev curl gettext git postgresql-client

RUN pip3 install --upgrade wheel setuptools pip

RUN pip3 install pre-commit psycopg2-binary ipdb

WORKDIR /django-pint

# copy application files
COPY . /django-pint

RUN pre-commit install

RUN pip install -e '.[testing]'