mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-02 01:22:05 +03:00
237722f7f9
Test command: `docker compose -f ./.github/deployment/self-host/compose.yaml up`
12 lines
311 B
Docker
12 lines
311 B
Docker
FROM node:18-bookworm-slim
|
|
|
|
COPY ./packages/backend/server /app
|
|
COPY ./packages/frontend/core/dist /app/static
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends openssl && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
CMD ["node", "--es-module-specifier-resolution=node", "./dist/index.js"]
|