mirror of
https://github.com/buildwithparallel/crosstalk
synced 2026-08-10 21:26:31 -04:00
Bump Crosstalk to 2.3.1 and update packaging metadata, artifact names, and runtime requirements. Add a draft GitHub release workflow plus release notes, and refresh container/build configs and docs for the new release process.
33 lines
760 B
Docker
33 lines
760 B
Docker
# Build the frontend
|
|
FROM node:22-bookworm-slim AS build-frontend
|
|
|
|
WORKDIR /src
|
|
|
|
# Copy required source files
|
|
COPY *.json .
|
|
COPY *.js .
|
|
COPY src/frontend ./src/frontend
|
|
|
|
# Install NodeJS deps, exluding electron
|
|
RUN npm install --omit=dev && \
|
|
npm run build-frontend
|
|
|
|
# Main app build
|
|
FROM python:3.11-bookworm
|
|
|
|
WORKDIR /app
|
|
|
|
# Install Python deps
|
|
COPY ./requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
|
|
# Copy prebuilt frontend
|
|
COPY --from=build-frontend /src/public public
|
|
|
|
# Copy other required source files
|
|
COPY *.py .
|
|
COPY src/__init__.py ./src/__init__.py
|
|
COPY src/backend ./src/backend
|
|
COPY *.json .
|
|
|
|
CMD ["python", "crosstalk.py", "--host=0.0.0.0", "--reticulum-config-dir=/config/.reticulum", "--storage-dir=/config/.crosstalk", "--headless"]
|