diff --git a/Dockerfile b/Dockerfile index 90178a5..1b9d42a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,10 @@ FROM ${REGISTRY}/bun:1.3.10-alpine3.22 AS runtime WORKDIR /app COPY --from=prod-deps /app/node_modules /app/node_modules COPY --from=build /app/dist /app/dist -COPY --from=builder /app/package.json ./ ARG APP_VERSION=latest -ARG APP_VERSION +ENV NODE_ENV=production ENV HOST=0.0.0.0 ENV PORT=4321 diff --git a/package.json b/package.json index fdf8ed2..e657f66 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,10 @@ }, "scripts": { "dev": "astro dev", + "full-dev": "rm -rf dist node_modules .astro && bun install && astro build && astro dev", "build": "astro build", "preview": "astro preview", + "full-preview": "rm -rf dist node_modules .astro && bun install && astro build && astro preview", "astro": "astro", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,md,mdx,astro}\"", "lint": "eslint \"src/**/*.{js,ts,jsx,tsx,astro}\"", diff --git a/src/components/sections/WeatherSection.astro b/src/components/sections/WeatherSection.astro index 8f03b05..fb3bb2c 100644 --- a/src/components/sections/WeatherSection.astro +++ b/src/components/sections/WeatherSection.astro @@ -20,7 +20,7 @@ const { forecastDays, error } = await getFiveDayForecast(latitude, longitude, ti {error ? (