ci: Add /uploads to Docker containers [skip ci]

This commit is contained in:
jamesread 2024-10-04 23:01:03 +01:00
parent 0a5820b146
commit 71f8541463
1 changed files with 3 additions and 0 deletions

View File

@ -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)"