1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-02 09:21:53 +02:00
dockerfiles/samba/Dockerfile

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