mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-06 09:33:45 +00:00
13 lines
360 B
Docker
13 lines
360 B
Docker
FROM node:20-bookworm-slim
|
|
|
|
COPY ./packages/backend/server /app
|
|
COPY ./packages/frontend/web/dist /app/static
|
|
COPY ./packages/frontend/admin/dist /app/static/admin
|
|
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"]
|