Initial Commit
Some checks failed
Docker / build (push) Failing after 5s

This commit is contained in:
Tobias Brummer 2025-05-18 23:51:19 +02:00
commit 75f4febcf9
No known key found for this signature in database
45 changed files with 9206 additions and 0 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM alpine:latest
RUN apk update && apk upgrade
RUN apk add bash nginx nodejs npm git
COPY src/nginx.conf /etc/nginx/http.d/default.conf
RUN mkdir /app
WORKDIR /app
RUN git clone https://git.lycaknight.de/lycaknight/portfolio.git /app
RUN npm install && npm run build
CMD ["/bin/bash", "-c", "nginx -g 'daemon off;'"]
EXPOSE 80