Skip to content

Commit

Permalink
ci: Update Docker stack - now includes service for creating changelogs.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Apr 20, 2021
1 parent afe71bf commit 228831e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ version: "3"

services:
doc:
container_name: sphinx_documentation
build: docker/doc
volumes:
- ./docs:/etc/Sphinx/source
ports:
- 8100:80
auto_changelog:
build: docker/auto-changelog
working_dir: /src
volumes:
- .:/src
13 changes: 13 additions & 0 deletions docker/auto-changelog/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:15.4.0-alpine

ENV SRC_PATH /src

RUN apk add --no-cache git
RUN npm install -g auto-changelog@2.2.1
RUN mkdir -p $SRC_PATH

VOLUME [ "$SRC_PATH" ]
WORKDIR $SRC_PATH

CMD ["--help"]
ENTRYPOINT ["auto-changelog"]

0 comments on commit 228831e

Please sign in to comment.