From 71f85414637bf9428f9beca105b9fbd957723bcf Mon Sep 17 00:00:00 2001 From: jamesread Date: Fri, 4 Oct 2024 23:01:03 +0100 Subject: [PATCH] ci: Add /uploads to Docker containers [skip ci] --- Dockerfile.dev | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.dev b/Dockerfile.dev index 0162b4ef..71fe30fc 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -31,6 +31,7 @@ COPY var/docker/Caddyfile /app/Caddyfile COPY .env.example /config/postiz.env VOLUME /config +VOLUME /uploads LABEL org.opencontainers.image.source=https://github.com/gitroomhq/postiz-app @@ -55,6 +56,7 @@ COPY libraries /app/libraries/ RUN npm ci --no-fund && npx nx run-many --target=build --projects=frontend,backend,workers,cron VOLUME /config +VOLUME /uploads LABEL org.opencontainers.image.title="Postiz App (DevContainer)" @@ -70,6 +72,7 @@ COPY --from=devcontainer /app/libraries/ /app/libraries/ COPY package.json nx.json /app/ VOLUME /config +VOLUME /uploads ## Labels at the bottom, because CI will eventually add dates, commit hashes, etc. LABEL org.opencontainers.image.title="Postiz App (Production)"