Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5 add dockerfile to easy deploy website #13

Merged
merged 3 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM php:7.4-apache
COPY . /var/www/html/

RUN sed -i 's/80/1912/' /etc/apache2/ports.conf
RUN sed -i 's/80/1912/' /etc/apache2/sites-enabled/000-default.conf

26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
arvin2
======
# arvin2

A script to search in HMAP (http://hmap.fr/) set of music scores. Basically, a PHP script to search in a CSV.

## Run in docker

This is for development purposes:
you can run the current code in docker

Build it: `sudo docker build . -t arvin2`

Run it: `sudo docker run --rm --name arvin2 --network host -it arvin2`. It
will be available on `http://localhost:1912`

Clean it (shouldn't be needed with `--rm`): `sudo docker container remove arvin2`

## Contributors

* Olivier FAURAX https://github.com/ofaurax
* Kimicol https://github.com/kimicol

## License

Copyright 2013 Olivier FAURAX

Licensed under the GNU AGPLv3: https://www.gnu.org/licenses/agpl-3.0.html