The code moves into src/: index, server and the test harness keep the root
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c122745390
commit
1f636530b9
16 files changed
+16
-13
No files matched your search
+4
-2
@@ -3,7 +3,8 @@
|
||||
# stage COPYs the marker so BuildKit cannot skip this stage as unused.
|
||||
FROM node:22-alpine AS test
|
||||
WORKDIR /app
|
||||
COPY *.js /app/
|
||||
COPY test.js /app/
|
||||
COPY src /app/src
|
||||
RUN node test.js && touch /tests-passed
|
||||
|
||||
FROM python:3.12-alpine
|
||||
@@ -14,7 +15,8 @@ FROM python:3.12-alpine
|
||||
# ponytail: switch to hashed filenames if traffic ever matters.
|
||||
WORKDIR /app
|
||||
COPY --from=test /tests-passed /tmp/tests-passed
|
||||
COPY index.html manifest.webmanifest *.js server.py /app/
|
||||
COPY index.html manifest.webmanifest server.py /app/
|
||||
COPY src /app/src
|
||||
COPY assets /app/assets
|
||||
# THE SCORES LIVE HERE AND THIS MUST BE A PERSISTENT VOLUME. Without one the json sits in the
|
||||
# container's writable layer and every deploy silently resets the leaderboard to empty — which
|
||||
|
||||
Reference in new issue
Block a user