Change dockerfile to build from local source
This commit is contained in:
parent
b87b1a1c85
commit
000c009eef
@ -1 +1,18 @@
|
||||
config/
|
||||
.vscode/
|
||||
config/
|
||||
coverage/
|
||||
dist/
|
||||
node_modules/
|
||||
public/
|
||||
.browserslistrc
|
||||
.editorconfig
|
||||
.eslintignore
|
||||
.eslintrc.cjs
|
||||
.gitattributes
|
||||
.gitignore
|
||||
.npmrc
|
||||
.prittierignore
|
||||
LICENSE
|
||||
README.md
|
||||
README.old
|
||||
SECURITY.md
|
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user