mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
21 lines
301 B
Docker
21 lines
301 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
|