Compare commits
3 commits
dependabot
...
main
Author | SHA1 | Date | |
---|---|---|---|
a72b9b0e05 | |||
4ed6d78212 | |||
1679bae1c1 |
5 changed files with 59 additions and 11 deletions
19
Dockerfile
Normal file
19
Dockerfile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
# Set working directory
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Copy package files first to leverage Docker cache
|
||||||
|
COPY package.json yarn.lock ./
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
RUN yarn install
|
||||||
|
|
||||||
|
# Copy the rest of the application
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Expose port 5000
|
||||||
|
EXPOSE 5000
|
||||||
|
|
||||||
|
# Start the application
|
||||||
|
CMD ["yarn", "start"]
|
25
README.md
25
README.md
|
@ -1,4 +1,27 @@
|
||||||
# Matrix.to
|
# dm.sij.law
|
||||||
|
This repo is cloned from the official Matrix.to repo on Github. I've added a Dockerfile and will make modifications in the future. The current version is live at [dm.sij.law](https://dm.sij.law)
|
||||||
|
|
||||||
|
## First clone the repo
|
||||||
|
```bash
|
||||||
|
git clone https://sij.ai/sij/env.esq.git
|
||||||
|
```
|
||||||
|
|
||||||
|
## Next build the image
|
||||||
|
```bash
|
||||||
|
docker build -t matrix-to .
|
||||||
|
```
|
||||||
|
|
||||||
|
## Then run it
|
||||||
|
```bash
|
||||||
|
docker run -d \
|
||||||
|
--name matrix-to \
|
||||||
|
-p 3636:5000 \
|
||||||
|
matrix-to
|
||||||
|
```
|
||||||
|
|
||||||
|
# EVERYTHING BELOW HERE IS ORIGINAL DOCUMENTATION
|
||||||
|
|
||||||
|
## Matrix.to
|
||||||
|
|
||||||
Matrix.to is a simple url redirection service for the Matrix.org ecosystem
|
Matrix.to is a simple url redirection service for the Matrix.org ecosystem
|
||||||
which lets users share links to matrix entities without being tied to a
|
which lets users share links to matrix entities without being tied to a
|
||||||
|
|
6
docker-compose.yaml
Normal file
6
docker-compose.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
matrix-to:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "3636:5000"
|
|
@ -29,7 +29,7 @@
|
||||||
"postcss-import": "^12.0.1",
|
"postcss-import": "^12.0.1",
|
||||||
"postcss-url": "^8.0.0",
|
"postcss-url": "^8.0.0",
|
||||||
"regenerator-runtime": "^0.13.7",
|
"regenerator-runtime": "^0.13.7",
|
||||||
"rollup": "^2.79.2",
|
"rollup": "^2.26.4",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"serve-static": "^1.14.1",
|
"serve-static": "^1.14.1",
|
||||||
"xxhashjs": "^0.2.2"
|
"xxhashjs": "^0.2.2"
|
||||||
|
|
18
yarn.lock
18
yarn.lock
|
@ -1409,10 +1409,10 @@ fs.realpath@^1.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
||||||
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
|
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
|
||||||
|
|
||||||
fsevents@~2.3.2:
|
fsevents@~2.1.2:
|
||||||
version "2.3.3"
|
version "2.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
|
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
|
||||||
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
|
integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==
|
||||||
|
|
||||||
function-bind@^1.1.1:
|
function-bind@^1.1.1:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
|
@ -1887,12 +1887,12 @@ rollup-plugin-terser@^7.0.2:
|
||||||
serialize-javascript "^4.0.0"
|
serialize-javascript "^4.0.0"
|
||||||
terser "^5.0.0"
|
terser "^5.0.0"
|
||||||
|
|
||||||
rollup@^2.79.2:
|
rollup@^2.26.4:
|
||||||
version "2.79.2"
|
version "2.34.2"
|
||||||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.2.tgz#f150e4a5db4b121a21a747d762f701e5e9f49090"
|
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.34.2.tgz#fa73e05c64df587e9ed4dc80d7d4e7d4a43f8908"
|
||||||
integrity sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==
|
integrity sha512-mvtQLqu3cNeoctS+kZ09iOPxrc1P1/Bt1z15enuQ5feyKOdM3MJAVFjjsygurDpSWn530xB4AlA83TWIzRstXA==
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents "~2.3.2"
|
fsevents "~2.1.2"
|
||||||
|
|
||||||
safe-buffer@^5.1.0, safe-buffer@~5.2.0:
|
safe-buffer@^5.1.0, safe-buffer@~5.2.0:
|
||||||
version "5.2.1"
|
version "5.2.1"
|
||||||
|
|
Loading…
Reference in a new issue