You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to put together a Dockerfile that does build but stops on some Tauri error. I haven't run across Tauti before and have a tough time proceeding further. I did some troubleshooting with the help of ChatGPT but got stuck on some Tauri configuration files .
The Dockerfile I've created
FROM node:18-slim
# Install system dependencies required by Tauri and Rust
RUN apt-get update && \
apt-get install -y curl build-essential libssl-dev libwebkit2gtk-4.0-dev libgtk-3-dev \
libayatana-appindicator3-dev librsvg2-dev && \
rm -rf /var/lib/apt/lists/*
# Install Rust and Cargo
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
# Install the Tauri CLI using Cargo
RUN cargo install tauri-cli && \
echo "Tauri installed, checking version..." && \
ls /root/.cargo/bin && \
/root/.cargo/bin/cargo-tauri --version
# Install PNPM globally
RUN npm install -g pnpm
# Set the working directory in the container
WORKDIR /usr/src/app
# Copy the package.json and pnpm-lock.yaml to the container
COPY package.json pnpm-lock.yaml ./
# Install dependencies using PNPM
RUN pnpm install
# Copy the rest of the application code to the container
COPY . .
# Build the frontend using Vite
RUN pnpm run ui:build
# Expose the port on which the application will run
EXPOSE 5173
# Set the environment variable for running in development mode
ENV NODE_ENV=development
# Command to run the Rust development server using PNPM
CMD ["cargo-tauri", "dev", "--", "--no-default-features"]
And these are the error messages when I run the Docker
docker run meshtastic-network-client
Error `tauri.conf.json` error: "identifier" is a required property
Error `tauri.conf.json` error on `build`: Additional properties are not allowed ('devPath', 'distDir' were unexpected)
Error `tauri.conf.json` error: Additional properties are not allowed ('package', 'tauri' were unexpected
```)
The text was updated successfully, but these errors were encountered:
I managed to put together a Dockerfile that does build but stops on some Tauri error. I haven't run across Tauti before and have a tough time proceeding further. I did some troubleshooting with the help of ChatGPT but got stuck on some Tauri configuration files .
The Dockerfile I've created
And these are the error messages when I run the Docker
The text was updated successfully, but these errors were encountered: