Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

Optimize Dockerfile apk usage to reduce image size (#162)

Peter Dave Hello0b82345ee9a9
diff --git a/Dockerfile b/Dockerfile
index db5599f..3bc52d4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@ FROM php:8.0.5-fpm-alpine
WORKDIR /var/www/html
# Update packages
-RUN apk update && apk upgrade
+RUN apk upgrade --no-cache
# Install SQLite3 and its dependencies
RUN apk add --no-cache sqlite-dev \