2023-11-16 02:35:05 +01:00
|
|
|
FROM node:16-buster AS builder
|
2023-03-03 16:23:46 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY package.json .
|
|
|
|
RUN yarn
|
|
|
|
|
2023-10-31 17:03:45 +01:00
|
|
|
COPY tsconfig.json tsconfig.base.json ./
|
2023-03-03 16:23:46 +01:00
|
|
|
COPY src ./src
|
|
|
|
RUN yarn test:comp-linux
|
|
|
|
|
|
|
|
##############################################
|
|
|
|
|
|
|
|
FROM debian:buster
|
|
|
|
|
|
|
|
COPY --from=builder /app/bundle /bin/Aki-server
|
|
|
|
|
|
|
|
EXPOSE 6969
|
|
|
|
|
2023-11-16 02:35:05 +01:00
|
|
|
CMD ["/bin/Aki-server"]
|