Ensure Docker builds copy default config

This commit is contained in:
Your Name 2025-09-17 19:11:48 -06:00
parent 34fd36e784
commit cadab4d29b

View file

@ -8,6 +8,8 @@ WORKDIR /usr/src/habitica
COPY ["package.json", "package-lock.json", "./"] COPY ["package.json", "package-lock.json", "./"]
# Copy the remaining source files in. # Copy the remaining source files in.
COPY . /usr/src/habitica COPY . /usr/src/habitica
# Provide a default configuration for build-time tooling
RUN cp config.json.example config.json
# Install dependencies # Install dependencies
RUN npm install RUN npm install
RUN npm run postinstall RUN npm run postinstall