Docker update

This commit is contained in:
mukesh13
2025-06-24 12:22:52 +05:30
parent ae97ac986b
commit 7a3649d522

View File

@ -4,10 +4,8 @@ FROM node:18-alpine AS development
WORKDIR /app
# 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++
# Install build dependencies
RUN apk add --no-cache python3 make g++
# Copy package files
COPY package.json package-lock.json ./
@ -43,4 +41,4 @@ COPY .nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
ENTRYPOINT ["nginx", "-g", "daemon off;"]
ENTRYPOINT ["nginx", "-g", "daemon off;"]