add Dockerfile and build instructions
This commit is contained in:
parent
bc8b5dc172
commit
e3374d3f8a
2 changed files with 24 additions and 0 deletions
6
Dockerfile
Normal file
6
Dockerfile
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
FROM nginx:1.29-alpine
|
||||
|
||||
COPY index.html poster.html /usr/share/nginx/html
|
||||
COPY assets /usr/share/nginx/html/assets
|
||||
COPY css /usr/share/nginx/html/css
|
||||
COPY js /usr/share/nginx/html/js
|
||||
18
README.md
Normal file
18
README.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Interhack Camp Website 2026
|
||||
|
||||
## Build the Docker image
|
||||
|
||||
We use Docker for deploying on the Interhack infra. Until we have a proper CI, we need to build manually.
|
||||
|
||||
First, login to the Docker registry:
|
||||
|
||||
```bash
|
||||
docker login git.interhacker.space
|
||||
```
|
||||
|
||||
Then, build and push to the registry:
|
||||
|
||||
```bash
|
||||
docker build -t git.interhacker.space/interhack/camp-website-2026:latest .
|
||||
docker push git.interhacker.space/interhack/camp-website-2026:latest
|
||||
```
|
||||
Loading…
Add table
Reference in a new issue