From 4950e8312583737d906035f6a350311b4771116f Mon Sep 17 00:00:00 2001 From: Franklin Guevara Date: Mon, 10 Jun 2024 21:53:08 -0600 Subject: [PATCH] created docker file --- Dockerfile | 6 ++++++ src/static/js/app.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..461f5f6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM node:18-alpine +WORKDIR /app +COPY . . +RUN yarn install --production +CMD ["node", "src/index.js"] +EXPOSE 3000 diff --git a/src/static/js/app.js b/src/static/js/app.js index 4ec962c..1fb76fd 100644 --- a/src/static/js/app.js +++ b/src/static/js/app.js @@ -53,7 +53,7 @@ function TodoListCard() { {items.length === 0 && ( -

No items yet! Add one above!

+

You have no todo items yet! Add one above!

)} {items.map(item => (