🎉 ÇA MARCHE EN ALPINE git add .!

This commit is contained in:
ayo 2026-06-19 10:26:23 +02:00
commit b1c01334af
2 changed files with 7 additions and 7 deletions

View file

@ -1,9 +1,10 @@
FROM debian:bookworm-slim
FROM alpine:3.21
RUN apt-get update && apt-get install -y dovecot-core dovecot-imapd
RUN apk add --no-cache dovecot bash
RUN mkdir -p /var/mail/vhosts && \
useradd -m -u 5000 -d /var/mail/vhosts vmail || true
addgroup -g 5000 vmail && \
adduser -D -u 5000 -G vmail -h /var/mail/vhosts vmail
COPY ../share/users.txt /tmp/users.txt
COPY ../share/dovecot.sh /tmp/dovecot.sh