Merge pull request #3 from quangnh89/master

Fixed: Error docker run
This commit is contained in:
Fernando Schuindt 2021-04-26 12:12:15 -03:00 committed by GitHub
commit cd89ef69de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 \ RUN apk add --no-cache --update \
samba-common-tools \ samba-common-tools \
@ -7,7 +7,7 @@ RUN apk add --no-cache --update \
COPY smb.conf /etc/samba/smb.conf 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: volumes:
- /mnt/hdd_repo/Shared/:/Shared - /mnt/hdd_repo/Shared/:/Shared
ports: ports:
- "139:139"
- "445:445" - "445:445"
build: build:
context: . context: .