Compare commits

...

3 commits

Author SHA1 Message Date
sij
a72b9b0e05 Update README.md 2024-11-05 00:48:28 +01:00
sij
4ed6d78212 Add Dockerfile 2024-11-05 00:45:53 +01:00
sij
1679bae1c1 Add docker-compose.yaml 2024-11-05 00:45:29 +01:00
3 changed files with 49 additions and 1 deletions

19
Dockerfile Normal file
View 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"]

View file

@ -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
View file

@ -0,0 +1,6 @@
version: '3'
services:
matrix-to:
build: .
ports:
- "3636:5000"