This commit is contained in:
commit
75f4febcf9
45 changed files with 9206 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue