Course_Practical_Guide_EKS
Course_Practical_Guide_EKS copied to clipboard
issue Alpine docker image on mac
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