Added File uploads and fetching of said files
This commit is contained in:
@@ -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", "."]
|
||||
|
||||
Reference in New Issue
Block a user