Skip to content

Commit

Permalink
feat(docker): containerize the application
Browse files Browse the repository at this point in the history
In this commit:
- Define scripts, env file and Dockerfile to build and run the container
- Get astarte config from env vars
- Add dependabot checks for docker
- Update Readme with the information to build and run a docker container

Signed-off-by: Riccardo Gallo <riccardo.gallo@secomind.com>
  • Loading branch information
rgallor committed Sep 20, 2024
1 parent 700ca8b commit 1639b7f
Show file tree
Hide file tree
Showing 9 changed files with 285 additions and 144 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright 2024 SECO Mind Srl
#
# SPDX-License-Identifier: Apache-2.0

/.github
/.reuse
/scripts/docker
!/scripts/docker/entrypoint.sh
4 changes: 4 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ updates:
directory: "/"
schedule:
interval: weekly
- package-ecosystem: docker
directories: "**/*"
schedule:
interval: weekly
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
.idea/

.pre-commit-config.yaml

# file containing astarte configuration environment variables
**/.env
Loading

0 comments on commit 1639b7f

Please sign in to comment.