docker: build before deploy

This commit is contained in:
Trianta 2024-09-17 19:20:32 -05:00
parent 3641cfd836
commit 477ce1461e

View File

@ -8,8 +8,9 @@ COPY package*.json ./
RUN npm install
COPY . /usr/share/nginx/html
RUN npm run build
COPY . /usr/share/nginx/html
EXPOSE 80