mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
21 lines
320 B
Docker
21 lines
320 B
Docker
#
|
|
# Dockerfile for samba
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <noreply@easypi.pro>
|
|
|
|
RUN apk add --no-cache samba-common-tools samba-server
|
|
|
|
COPY ./data/smb.conf /etc/samba/
|
|
|
|
VOLUME /etc/samba \
|
|
/var/lib/samba
|
|
|
|
EXPOSE 137/udp \
|
|
138/udp \
|
|
139/tcp \
|
|
445/tcp
|
|
|
|
CMD nmbd -D && smbd -FS --no-process-group
|