diff options
| author | saturneric <[email protected]> | 2025-11-01 23:35:08 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-11-01 23:35:08 +0000 |
| commit | 238c9a4686941f7d78c2fb6d6e08c360498daf43 (patch) | |
| tree | f0b5d0bf3d5684d64c2e481b20161418ad3d66d1 | |
| parent | git: update to v2.46.0 (diff) | |
| download | cgit-238c9a4686941f7d78c2fb6d6e08c360498daf43.tar.gz cgit-238c9a4686941f7d78c2fb6d6e08c360498daf43.zip | |
feat(docker): add initial `Dockerfile` for build setup
* Introduce a minimal container build using Alpine Linux
* Install required packages for building and running the app
* Automate submodule initialization and build steps
* Enable easier deployment and reproducible environments
| -rw-r--r-- | Dockerfile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..43b81dc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine:latest as builder + +COPY . /app + +RUN apk --no-cache add git gcc make openssl libzip lua5.4 nginx && \ + cd /app && \ + git submodule update --init --recursive && \ + make && \ + make install
\ No newline at end of file |
