forked from uncloud/uncloud
19 lines
382 B
Docker
19 lines
382 B
Docker
FROM python:3.10.0-alpine3.15
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY requirements.txt ./
|
|
# OS requirements for building wheel and for operating uncloud
|
|
RUN apk update && apk add \
|
|
openldap-dev \
|
|
postgresql-dev \
|
|
libxml2-dev \
|
|
libxslt-dev \
|
|
gcc \
|
|
git \
|
|
python3-dev \
|
|
musl-dev \
|
|
wireguard-tools-wg
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|