FROM docker.io/node:16-alpine3.15
ARG TARGETARCH=amd64
WORKDIR /opt/matrix-appservice-kakaotalk/node
COPY . ./
RUN npm i
ENV UID=1337 GID=1337
VOLUME /data
CMD ["./docker-run.sh"]