forked from uncloud/uncloud
Add initial Dockerfile
This commit is contained in:
parent
5f4b10cb82
commit
71fce1242e
1 changed files with 19 additions and 0 deletions
19
Dockerfile
Normal file
19
Dockerfile
Normal file
|
@ -0,0 +1,19 @@
|
|||
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 . .
|
Loading…
Reference in a new issue