Skip to content
Snippets Groups Projects
Select Git revision
  • 7c6ce4c71ba147a5dec1c899564a1387f92127a8
  • master default protected
  • Tarea_3.2
  • 2.3_Ejercicio_1
  • 2.2_Ejercicio_1
5 results

Dockerfile

Blame
  • user avatar
    a
    Victor authored
    7c6ce4c7
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 292 B
    FROM node:23 AS build
    RUN mkdir -p /app
    WORKDIR /app
    COPY package*.json ./
    RUN npm install
    COPY . /app
    RUN npm run build --prod
    FROM nginx:alpine
    COPY --from=build /app/dist/ej-rest-client/browser/ /usr/share/nginx/html
    COPY --from=build /app/nginx-custom.conf /etc/nginx/conf.d/default.conf