mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
385 B
Docker
15 lines
385 B
Docker
FROM --platform=$BUILDPLATFORM alpine
|
|
ARG LINK
|
|
ARG TARGETPLATFORM
|
|
COPY ./setup.sh /setup.sh
|
|
RUN /setup.sh
|
|
|
|
FROM node:lts-alpine
|
|
COPY --from=0 /boilerplate.zip /boilerplate.zip
|
|
COPY ./entrypoint.sh /
|
|
RUN apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont font-noto-cjk
|
|
VOLUME ["/koishi"]
|
|
WORKDIR "/koishi"
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
CMD ["yarn", "start"]
|