Wired up the Website deployment for the POC prototype.

This commit is contained in:
javier committed 2026-09-21 16:43:54 +02:00
1 parent f2f445827b
commit 359fe0d6ac
5 files changed
+77 -34

No files matched your search

+6
View File
@@ -128,6 +128,12 @@ COPY --from=build --chown=hummingbird:hummingbird /staging /app
# Provide configuration needed by the built-in crash reporter and some sensible default behaviors.
ENV SWIFT_BACKTRACE=enable=yes,sanitize=yes,threads=all,images=all,interactive=no,swift-backtrace=./swift-backtrace-static
# The photos sellers upload are the one thing written at runtime: their folder alone is writable, and it is where the
# Compose file mounts a volume. A named volume takes the ownership of the folder it is first mounted over.
RUN mkdir -p /app/Resources/Static/uploads \
&& chown hummingbird:hummingbird /app/Resources/Static/uploads \
&& chmod 750 /app/Resources/Static/uploads
# Ensure all further commands run as the hummingbird user
USER hummingbird:hummingbird