Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
356 B
16 lines
356 B
FROM debian:bullseye-slim as builder
|
|
WORKDIR /data
|
|
COPY . .
|
|
|
|
#RUN apt update && apt install -y npm
|
|
RUN apt install -y npm
|
|
RUN npm install -i package.json \
|
|
&& npm run build
|
|
|
|
FROM alpine
|
|
RUN apk add lighttpd \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
COPY --from=builder /data/dist /var/www/localhost/htdocs
|
|
|
|
CMD ["lighttpd","-D","-f","/etc/lighttpd/lighttpd.conf"] |