diff --git a/Dockerfile b/Dockerfile index eea475d..459b672 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,6 @@ RUN cd /temp/dev && bun install --frozen-lockfile RUN mkdir -p /temp/prod COPY package.json bun.lock /temp/prod/ RUN cd /temp/prod && bun install --frozen-lockfile --production - FROM base AS prerelease COPY --from=install /temp/dev/node_modules node_modules COPY . . @@ -24,11 +23,9 @@ COPY --from=prerelease /usr/src/app/package.json . RUN mkdir -p ./.astro/sessions && chown -R bun:bun ./.astro -# for external access ENV HOST=0.0.0.0 ENV PORT=4321 -# run the app USER bun EXPOSE 4321/tcp ENTRYPOINT [ "bun", "--init", "./dist/server/entry.mjs" ] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index b54ce8e..c3bdab4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,15 +2,11 @@ services: app: build: . image: ${DOCKER_IMAGE:-traitor-royale:latest} - # use env_file to load sensitive vars at runtime (don't bake them into image) env_file: - .env environment: - HOST=0.0.0.0 - PORT=4321 - # do NOT use substitution for secret vars; allow env_file to set them - # CLASH_ROYALE_API_KEY - # RENDER_API ports: - "4321:4321" restart: unless-stopped \ No newline at end of file diff --git a/src/components/SwipeToRevealCard.tsx b/src/components/SwipeToRevealCard.tsx index 7afdeae..266190b 100644 --- a/src/components/SwipeToRevealCard.tsx +++ b/src/components/SwipeToRevealCard.tsx @@ -7,22 +7,49 @@ interface SwipeCardProps { export function SwipeCard({ isImpostor, image }: SwipeCardProps) { return ( -
IMPOSTOR
+ // 1. CONTENEDOR PRINCIPAL: Define el tamaño y la forma externa + // He añadido 'aspect-[3/4]' para asegurar que tenga altura de carta, ya que 'absolute' lo requiere. +IMPOSTOR
+