Fixed: Error docker run

This commit is contained in:
Quang Nguyen 2020-08-19 00:40:54 +07:00
parent f8288bd7ce
commit 8493219ae7
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.12.0
RUN apk add --no-cache --update \
samba-common-tools \
@ -7,7 +7,7 @@ RUN apk add --no-cache --update \
COPY smb.conf /etc/samba/smb.conf
EXPOSE 445/tcp
EXPOSE 139/tcp 445/tcp
CMD ["smbd", "--foreground", "--log-stdout"]
CMD ["smbd", "--foreground", "--log-stdout", "--no-process-group"]

View File

@ -7,6 +7,7 @@ services:
volumes:
- /mnt/hdd_repo/Shared/:/Shared
ports:
- "139:139"
- "445:445"
build:
context: .