Fix frontend Dockerfile: apk instead of apt-get for nginx:alpine

This commit is contained in:
Agent Zero
2026-05-24 21:56:15 +00:00
parent cdf350c618
commit d054d4c726
+1 -1
View File
@@ -10,7 +10,7 @@ COPY . .
RUN npm run build RUN npm run build
FROM nginx:alpine FROM nginx:alpine
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* RUN apk add --no-cache curl
COPY --from=build /app/dist /usr/share/nginx/html COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf