Skip to content

Commit

Permalink
Updating build for Tharanath
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux authored Jan 3, 2024
1 parent 16adffa commit d4359c5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/nix-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix-shell --run "./english_build.sh"
- run: |
mv ./docs/output/html/en /tmp/en
cd /tmp/en
mkdir /tmp/site
mv ./docs/output/html/en /tmp/site/en
cp -r deployment /tmp/site
cd /tmp/site
git init .
git add --all
git config --local user.email "[email protected]"
Expand Down
10 changes: 10 additions & 0 deletions deployment/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM httpd:2.4.57-alpine3.18

#copy static folders and files
COPY docs /usr/local/apache2/htdocs/

#copy apache config
#COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf

#Expose port
EXPOSE 80
4 changes: 4 additions & 0 deletions deployment/image-index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
images:
- name: inasafe-docs
dockerfile: deployment/docker/Dockerfile
buildPath: .

0 comments on commit d4359c5

Please sign in to comment.