mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 10:12:34 +00:00
- Fix issues with the current Chatwoot development codespaces - Switch from webpacket to vite - Add additional configs to make the development easier with codespaces - toggles v4 feature true as default
19 lines
599 B
Docker
19 lines
599 B
Docker
# The below image is created out of the Dockerfile.base
|
|
# It has the dependencies already installed so that codespace will boot up fast
|
|
FROM ghcr.io/chatwoot/chatwoot_codespace:latest
|
|
|
|
# Do the set up required for chatwoot app
|
|
WORKDIR /workspace
|
|
|
|
# Copy dependency files first for better caching
|
|
COPY package.json pnpm-lock.yaml ./
|
|
COPY Gemfile Gemfile.lock ./
|
|
|
|
# Install dependencies (will be cached if files don't change)
|
|
RUN pnpm install --frozen-lockfile && \
|
|
gem install bundler && \
|
|
bundle install --jobs=$(nproc)
|
|
|
|
# Copy source code after dependencies are installed
|
|
COPY . /workspace
|