diff --git a/.dockerignore b/.dockerignore index 2ec5195d..803dd32a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,18 @@ -config/ \ No newline at end of file +.vscode/ +config/ +coverage/ +dist/ +node_modules/ +public/ +.browserslistrc +.editorconfig +.eslintignore +.eslintrc.cjs +.gitattributes +.gitignore +.npmrc +.prittierignore +LICENSE +README.md +README.old +SECURITY.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 4b80647c..f24b5749 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ RUN apk add --no-cache --virtual=build-dependencies build-base git python3-dev & USER node WORKDIR /var/opt/thelounge-src ENV THELOUNGE_HOME /var/opt/thelounge -RUN git clone https://git.supernets.org/supernets/thelounge.git --depth 1 . +COPY . . +#RUN git clone https://git.supernets.org/supernets/thelounge.git --depth 1 . RUN yarn install && \ NODE_ENV=production yarn build && \ yarn link && \