revert chg on Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
greglebreton 2022-12-27 13:17:44 +01:00
parent 82b5ff0d9b
commit 458bca8377

View File

@ -1,14 +1,14 @@
FROM debian:bullseye-slim as builder
WORKDIR /data
COPY . .
#RUN apt update && apt install -y npm
RUN apt install -y npm
RUN apt update && apt install -y npm
RUN npm install -i package.json \
&& npm run build
FROM alpine
RUN apk add lighttpd \
RUN apk update \
&& apk add lighttpd \
&& rm -rf /var/cache/apk/*
COPY --from=builder /data/dist /var/www/localhost/htdocs