wip
This commit is contained in:
parent
0f911589ca
commit
5bdfe313de
65 changed files with 2219 additions and 77 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue