Skip to content

Commit

Permalink
Fix path in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wzxjohn committed Sep 5, 2021
1 parent db8deec commit a1d1665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ WORKDIR /app
COPY . /app
COPY --from=builder /app/node_modules ./node_modules
# Create empty history.json, disable loop in container
RUN echo "{}" > history.json \
&& sed -i 's/"loop": true/"loop": false/g' config.json
RUN echo "{}" > data/history/history.json \
&& sed -i 's/"loop": true/"loop": false/g' data/config/config.json

CMD ["npm", "start", "--no-update-notifier"]

0 comments on commit a1d1665

Please sign in to comment.