diff --git a/Dockerfile b/Dockerfile index aa7cd7e..f677b34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,16 +7,41 @@ WORKDIR /app COPY package.json . COPY pnpm-lock.yaml . -ENV NODE_ENV=production \ - PORT=3000 - RUN npm install -g pnpm && \ + pnpm install sharp && \ pnpm install COPY . . -RUN npm build +RUN npm run build + +ENV NODE_ENV=production EXPOSE 3000 -CMD ["pnpm", "start"] \ No newline at end of file +ENV PORT 3000 + +CMD ["pnpm", "start"] + +# FROM node:16-alpine AS builder + +# RUN apk add --no-cache libc6-compat + +# WORKDIR /app + +# COPY package.json . +# COPY pnpm-lock.yaml . + +# ENV NODE_ENV=production \ +# PORT=3000 + +# RUN npm install -g pnpm && \ +# pnpm install + +# COPY . . + +# RUN npm build + +# EXPOSE 3000 + +# CMD ["pnpm", "start"] \ No newline at end of file diff --git a/ui/events/podium/PodiumStep.tsx b/ui/events/podium/PodiumStep.tsx index f8cf968..37edbcb 100644 --- a/ui/events/podium/PodiumStep.tsx +++ b/ui/events/podium/PodiumStep.tsx @@ -19,8 +19,7 @@ export default function PodiumStep({