File: Dockerfile

package info (click to toggle)
python-django-pint 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 428 kB
  • sloc: python: 1,655; makefile: 87; sh: 6
file content (20 lines) | stat: -rw-r--r-- 382 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.10-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]'