Mise à jour de 'Dockerfile'

main
gregandev 1 year ago
parent 7df8a5b835
commit bd7b805c6c
  1. 3
      Dockerfile

@ -1,8 +1,7 @@
FROM debian:bullseye-slim as builder FROM debian:bullseye-slim as builder
RUN apt update
WORKDIR /data WORKDIR /data
COPY . . COPY . .
RUN apt-get install npm RUN apt-get update && apt-get install npm
RUN npm install -i package.json \ RUN npm install -i package.json \
&& npm run build && npm run build
FROM alpine FROM alpine

Loading…
Cancel
Save