Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue Alpine docker image on mac #35

Open
liamford opened this issue Oct 19, 2022 · 0 comments
Open

issue Alpine docker image on mac #35

liamford opened this issue Oct 19, 2022 · 0 comments

Comments

@liamford
Copy link

liamford commented Oct 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant