From d6cf2d760b9f97b315191e94263be49df1b442f8 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Tue, 26 Sep 2023 14:43:29 +0100 Subject: [PATCH] chore: guilp build from Dockerfile --- OliverBooth/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OliverBooth/Dockerfile b/OliverBooth/Dockerfile index 9ccbb31..f6a56ba 100644 --- a/OliverBooth/Dockerfile +++ b/OliverBooth/Dockerfile @@ -1,3 +1,11 @@ +# run Gulp to build the app +FROM node:12.16.1-alpine as build-stage +COPY package*.json ./ +COPY Gulpfile.js ./ +RUN npm install --global gulp-cli +RUN npm install +RUN gulp + FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base WORKDIR /app EXPOSE 80