This commit is contained in:
j3d1 2023-11-23 23:17:20 +01:00
parent 0f911589ca
commit 5bdfe313de
65 changed files with 2219 additions and 77 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM node:13 AS build
RUN mkdir /app
WORKDIR /app
COPY /web /app/web
RUN rm /app/web/package-lock.json
RUN cd /app/web && yarn install
RUN mkdir /app/web/dist
FROM debian:bookworm-slim AS production
RUN apt-get update && apt-get install -y nginx redis python3 python3-pip python3-venv mariadb-server postfix
COPY /core /app/core
COPY --from=build /app/web/dist /app/core/web/dist
ENTRYPOINT ["top", "-b"]