Skip to content

Commit dbeaeae

Browse files
committed
Fix for issue #30
The docker image was missing the EmailTemplates folder. Also corrected an issue with the docker docs
1 parent 7e0bac0 commit dbeaeae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ RUN dotnet publish -c Release ./Web/QueryTree.csproj -o /dist
99
FROM microsoft/aspnetcore:2.0-stretch as runtime
1010
WORKDIR /app
1111
COPY --from=builder /dist .
12+
COPY ./Web/EmailTemplates ./EmailTemplates
1213
VOLUME /var/lib/querytree
1314
ENV ConnectionStrings__DefaultConnection="Filename=/var/lib/querytree/querytree.db;"
1415
ENV Passwords__Keyfile="/var/lib/querytree/querytree.key"

docs/docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To override this setting in docker you need to supply an enviroment variable cal
5656
You can then pass this into docker as
5757

5858
```sh
59-
docker run -p 8080:80 --name querytree -d d4software/querytree:latest -e Customization__SystemName="Acme Reporting"
59+
docker run -p 8080:80 --name querytree -d -e Customization__SystemName="Acme Reporting" d4software/querytree:latest
6060
```
6161

6262
If you need a more permanent solution consider building a custom docker image with the appropriate appsettings.json file in [/Web/appsettings.json](/Web/appsettings.json)

0 commit comments

Comments
 (0)