Skip to content

Commit

Permalink
feat(Dockerfile): Para produccion revisar la configuracion
Browse files Browse the repository at this point in the history
  • Loading branch information
EleazarPe committed Sep 22, 2024
1 parent 34265d8 commit 4fbf592
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions barcamp2024-astro/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

FROM node:18 AS builder

WORKDIR /app

COPY package*.json ./
COPY tsconfig.json ./
COPY astro.config.mjs ./

RUN npm install

COPY . .

RUN npm run build

FROM node:18-alpine

WORKDIR /app

COPY --from=builder /app .

RUN npm install --only=production

EXPOSE 4321

CMD ["npm", "run", "preview", "--", "--host", "0.0.0.0"]
2 changes: 1 addition & 1 deletion barcamp2024-astro/src/components/elements/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const footerLegal = [
<div class=" bg-gradient-to-tl from-box-bg py-2 relative">
<Container>
<div class="flex justify-between items-center gap-6 md:text-lg text-heading-3">
<div> Copyright © 2024 CICC PUCMM | Website by <span class="text-transparent bg-clip-text bg-gradient-to-br from-cyan-500 from-30% to-red-500">KATIÓN INTERACTIV</span>
<div> Copyright © 2024 CICC PUCMM
</div>
<!-- <div>
Proudly made by <a href="https://github.com/johnkat-mj" target="_blank" class="font-semibold">John Kat</a>
Expand Down

0 comments on commit 4fbf592

Please sign in to comment.