Mise à jour de 'Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
596324e39f
commit
d493d65336
22
Dockerfile
22
Dockerfile
@ -1,14 +1,14 @@
|
|||||||
FROM debian:bullseye-slim as builder
|
FROM debian:bullseye-slim as builder
|
||||||
RUN apt update
|
RUN apt update
|
||||||
# WORKDIR /data
|
WORKDIR /data
|
||||||
# COPY . .
|
COPY . .
|
||||||
# RUN apt install -y npm
|
RUN apt install -y npm
|
||||||
# RUN npm install -i package.json \
|
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"]
|
Loading…
x
Reference in New Issue
Block a user