1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/samba/Dockerfile
2017-05-08 07:05:07 +08:00

21 lines
303 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