Course_Practical_Guide_EKS icon indicating copy to clipboard operation
Course_Practical_Guide_EKS copied to clipboard

issue Alpine docker image on mac

Open liamford opened this issue 3 years ago • 0 comments
trafficstars

for fixing the issue we need to use for front-end/Dockerfile

FROM node:carbon-alpine WORKDIR /opt/forms COPY package*.json ./ RUN apk add --no-cache --virtual .gyp
python
make
g++
&& npm install
&& apk del .gyp COPY . ./ RUN npm run build

FROM nginx:1.15-alpine COPY --from=0 /opt/forms/dist /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf

liamford avatar Oct 19 '22 05:10 liamford