update dockerfile env logic & deploy database cf worker

This commit is contained in:
Ishaan Dey
2024-05-05 22:33:24 -07:00
parent 34a7fd7ab9
commit c5762d430c
15 changed files with 104 additions and 576 deletions

View File

@ -1,3 +1,6 @@
ARG cf_api_token
ARG cf_user_id
FROM node:20
WORKDIR /code
@ -12,4 +15,7 @@ RUN npm run build
EXPOSE 3000
ENV cf_api_token=$cf_api_token
ENV cf_user_id=$cf_user_id
CMD [ "node", "dist/index.js" ]