1
0
mirror of https://github.com/tommytran732/Matrix.to-Docker synced 2024-09-16 14:14:42 -04:00
Matrix.to-Docker/Dockerfile
Tommy 334aadf1f2
Initial Release
Signed-off-by: Tommy <contact@tommytran.io>
2023-03-16 20:39:59 -04:00

22 lines
388 B
Docker

FROM node:alpine
LABEL maintainer="Thien Tran contact@tommytran.io"
ARG UID=992
ARG GID=992
RUN apk -U upgrade \
&& apk --no-cache add git \
&& adduser -g ${GID} -u ${UID} --disabled-password --gecos "" matrix-to
RUN git clone https://github.com/matrix-org/matrix.to \
&& cd matrix.to \
&& yarn \
&& yarn build
USER matrix-to
EXPOSE 5000
ENTRYPOINT ["yarn", "start"]