oops. now need to include index.css in Dockerfile

main
Avraham Sakal 11 months ago
parent 6d8b874a82
commit c53b8515da

@ -9,7 +9,7 @@ COPY package.json pnpm-lock.yaml /app/
# install dependencies: # install dependencies:
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
# copy what's necessary to build: # copy what's necessary to build:
COPY tsconfig.json vite.config.ts index.html /app/ COPY tsconfig.json vite.config.ts index.html index.css /app/
COPY src /app/src COPY src /app/src
# Vite injects envvars at build time, not runtime: # Vite injects envvars at build time, not runtime:
ENV VITE_SERVER_BASE_URL=https://calendar-optimizer-server.sakal.us ENV VITE_SERVER_BASE_URL=https://calendar-optimizer-server.sakal.us

Loading…
Cancel
Save