Added File uploads and fetching of said files

This commit is contained in:
2025-12-22 13:03:14 +01:00
parent ba6d8eeffc
commit 273314739f
10 changed files with 354 additions and 35 deletions

View File

@@ -11,6 +11,8 @@ COPY . .
RUN npm prune --production
FROM node:${NODE_VERSION}-alpine
RUN mkdir -p /data
RUN chown node /data
WORKDIR /app
COPY --from=builder /app/node_modules node_modules/
COPY --from=builder /app/index.js .
@@ -18,4 +20,5 @@ COPY --from=builder /app/src src/
USER node
EXPOSE 12345
ENV NODE_ENV=production
ENV JEOPARDY_CDN_DATA_PATH=/data
CMD [ "node", "."]