Change base images
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM node:20-slim AS build
|
||||
FROM docker.io/library/node:20-slim AS build
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
ARG VITE_API_BASE
|
||||
@@ -7,7 +7,7 @@ RUN npm install --no-progress
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:1.27-alpine AS final
|
||||
FROM docker.io/library/nginx:1.27-alpine AS final
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=build /app/dist /usr/share/nginx/html/taller
|
||||
EXPOSE 8081
|
||||
|
||||
Reference in New Issue
Block a user