chore: guilp build from Dockerfile

This commit is contained in:
Oliver Booth 2023-09-26 14:43:29 +01:00
parent 1200318326
commit d6cf2d760b
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
1 changed files with 8 additions and 0 deletions

View File

@ -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