Compare commits
2 Commits
d49e710609
...
28b8301aed
Author | SHA1 | Date | |
---|---|---|---|
28b8301aed | |||
03bf4bb755 |
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
config/
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@ package-lock.json
|
|||||||
coverage/
|
coverage/
|
||||||
public/
|
public/
|
||||||
dist/
|
dist/
|
||||||
|
config/
|
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
FROM node:lts-alpine
|
||||||
|
RUN apk add --no-cache --virtual=build-dependencies build-base git python3-dev
|
||||||
|
RUN apk add --no-cache yarn
|
||||||
|
USER node
|
||||||
|
WORKDIR /var/opt/thelounge-src
|
||||||
|
ENV THELOUNGE_HOME /var/opt/thelounge
|
||||||
|
RUN git clone https://git.supernets.org/supernets/thelounge.git .
|
||||||
|
RUN yarn install
|
||||||
|
RUN NODE_ENV=production yarn build
|
||||||
|
RUN yarn link
|
||||||
|
RUN yarn --non-interactive cache clean
|
||||||
|
RUN ln -s /var/opt/thelounge-src/index.js /var/opt/thelounge-src/thelounge
|
||||||
|
EXPOSE 9000
|
||||||
|
CMD ["/var/opt/thelounge-src/thelounge", "start"]
|
7
docker-compose.yml
Normal file
7
docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
services:
|
||||||
|
thelounge:
|
||||||
|
image: git.supernets.org/supernets/thelounge:4.4.1.1
|
||||||
|
ports:
|
||||||
|
- "9000:9000"
|
||||||
|
volumes:
|
||||||
|
- "$PWD/config:/var/opt/thelounge"
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "thelounge-sn",
|
"name": "@supernets/thelounge",
|
||||||
"description": "The self-hosted Web IRC client",
|
"description": "The self-hosted Web IRC client",
|
||||||
"version": "4.4.1",
|
"version": "4.4.1",
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user