mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 11:36:45 +00:00
Ensure Docker builds copy default config
This commit is contained in:
parent
34fd36e784
commit
cadab4d29b
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue