diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..043b517 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +FROM node:22-alpine AS build + +WORKDIR /app + +COPY package*-json yarn.lock ./ + +RUN yarn install --frozen-lockfile + +COPY . . + +ARG VITE_URL_BACKEND +ENV VITE_URL_BACKEND=$VITE_URL_BACKEND + +RUN yarn build + +FROM node:22-alpine AS production + +WORKDIR /app + +RUN yarn global add serve + +COPY --from=build /app/dist /app/dist + +EXPOSE 3333 + +CMD ["serve", "-s", "dist", "-l", "3333"] \ No newline at end of file diff --git a/index.html b/index.html index c282478..4b7c937 100644 --- a/index.html +++ b/index.html @@ -1,16 +1,14 @@ - + +
+ + + +