|
|
@ -6,11 +6,8 @@ RUN npm install -i package.json \ |
|
|
|
&& npm run build |
|
|
|
&& npm run build |
|
|
|
|
|
|
|
|
|
|
|
FROM alpine |
|
|
|
FROM alpine |
|
|
|
|
|
|
|
|
|
|
|
RUN apk update \ |
|
|
|
RUN apk update \ |
|
|
|
&& apk add lighttpd \ |
|
|
|
&& apk add lighttpd \ |
|
|
|
&& rm -rf /var/cache/apk/* |
|
|
|
&& rm -rf /var/cache/apk/* |
|
|
|
|
|
|
|
|
|
|
|
COPY --from=builder /data/dist /var/www/localhost/htdocs |
|
|
|
COPY --from=builder /data/dist /var/www/localhost/htdocs |
|
|
|
|
|
|
|
|
|
|
|
CMD ["lighttpd","-D","-f","/etc/lighttpd/lighttpd.conf"] |
|
|
|
CMD ["lighttpd","-D","-f","/etc/lighttpd/lighttpd.conf"] |