Docker Update

This commit is contained in:
mukesh13
2025-06-24 10:05:30 +05:30
parent 10a15e4b93
commit ae97ac986b

View File

@ -4,8 +4,10 @@ FROM node:18-alpine AS development
WORKDIR /app
# Install build dependencies
RUN apk add --no-cache python3 make g++
# Fix Alpine repo and install build dependencies
RUN sed -i -e 's|http://dl-cdn.alpinelinux.org|https://dl-cdn.alpinelinux.org|' /etc/apk/repositories \
&& apk update \
&& apk add --no-cache python3 make g++
# Copy package files
COPY package.json package-lock.json ./
@ -41,4 +43,4 @@ COPY .nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
ENTRYPOINT ["nginx", "-g", "daemon off;"]
ENTRYPOINT ["nginx", "-g", "daemon off;"]