diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..0b99357 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +* +*./* +*/* +*.* +!*.sh \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1c36090..c925794 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .history -.vscode \ No newline at end of file +.vscode +*.log \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index af66730..04648da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ FROM alpine:3.10 -COPY LICENSE README.md / +RUN apk upgrade --update \ + apk add --no-cache openssh \ + && rm -rf /tmp/* /usr/share/man /var/cache/apk/* -COPY entrypoint.sh /entrypoint.sh +COPY . / ENTRYPOINT ["/entrypoint.sh"]