mirror of
https://github.com/rommapp/romm.git
synced 2026-02-04 18:48:10 +08:00
- Create .devcontainer/Dockerfile for frontend and Python dependencies - Create .devcontainer/Dockerfile.base for system dependencies - Add entrypoint script to manage service startup and symlink creation - Update docker-compose.yml to reference the new Dockerfile - Modify DEVELOPER_SETUP.md for updated installation instructions
19 lines
444 B
Docker
19 lines
444 B
Docker
# trunk-ignore-all(trivy)
|
|
# trunk-ignore-all(checkov)
|
|
|
|
FROM rommapp/romm-devcontainer:4.1.4
|
|
|
|
# Install frontend dependencies
|
|
COPY frontend/package.json /app/frontend/
|
|
WORKDIR /app/frontend
|
|
RUN npm install
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Copy project files (including pyproject.toml and uv.lock)
|
|
COPY pyproject.toml uv.lock* .python-version /app/
|
|
|
|
# Install Python dependencies
|
|
RUN uv sync --all-extras
|
|
ENV PATH="/app/.venv/bin:${PATH}" |