mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-22 18:42:48 +03:00
cc5a6e6d40
packages/frontend/web -> packages/frontend/apps/web packages/frontend/mobile -> packages/frontend/apps/mobile packages/frontend/electron -> packages/frontend/apps/electron
14 lines
426 B
Docker
14 lines
426 B
Docker
FROM node:20-bookworm-slim
|
|
|
|
COPY ./packages/backend/server /app
|
|
COPY ./packages/frontend/apps/web/dist /app/static
|
|
COPY ./packages/frontend/admin/dist /app/static/admin
|
|
COPY ./packages/frontend/apps/mobile/dist /app/static/mobile
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends openssl && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
CMD ["node", "--import", "./scripts/register.js", "./dist/index.js"]
|