binary1ne commited on
Commit
4589f2e
·
verified ·
1 Parent(s): deb7273

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -3
Dockerfile CHANGED
@@ -1,9 +1,16 @@
1
  # Stage 1: Build Stage
2
  FROM diegogslomp/samba-ad-dc AS builder
3
 
4
- # Install Python and required libraries for Gradio
5
- RUN apt-get update && \
6
- apt-get install -y python3 python3-pip python3-dev libsasl2-dev libldap2-dev libssl-dev && \
 
 
 
 
 
 
 
7
  pip3 install gradio ldap3
8
 
9
  # Stage 2: Final Image
 
1
  # Stage 1: Build Stage
2
  FROM diegogslomp/samba-ad-dc AS builder
3
 
4
+ # Install dependencies using apk (Alpine's package manager)
5
+ RUN apk update && \
6
+ apk add --no-cache \
7
+ python3 \
8
+ py3-pip \
9
+ python3-dev \
10
+ libsasl \
11
+ libldap \
12
+ libressl-dev \
13
+ build-base && \
14
  pip3 install gradio ldap3
15
 
16
  # Stage 2: Final Image