diff --git a/app/Dockerfile b/app/Dockerfile
new file mode 100644
index 0000000..004d895
--- /dev/null
+++ b/app/Dockerfile
@@ -0,0 +1,7 @@
+# syntax=docker/dockerfile:1
+FROM node:12-alpine
+RUN apk add --no-cache python g++ make
+WORKDIR /app
+COPY . .
+RUN yarn install --production
+CMD ["node", "src/index.js"]
diff --git a/app/src/static/index.html b/app/src/static/index.html
index 3f6fb5b..605a932 100644
--- a/app/src/static/index.html
+++ b/app/src/static/index.html
@@ -8,9 +8,10 @@
-
Todo App
+ Lista de compras
+ Lista de Compras
diff --git a/app/src/static/js/app.js b/app/src/static/js/app.js
index 4ec962c..7c8b54b 100644
--- a/app/src/static/js/app.js
+++ b/app/src/static/js/app.js
@@ -53,7 +53,7 @@ function TodoListCard() {
{items.length === 0 && (
- No items yet! Add one above!
+ Adicionar um item
)}
{items.map(item => (
setNewItem(e.target.value)}
type="text"
- placeholder="New Item"
+ placeholder="Novo produto"
aria-describedby="basic-addon1"
/>
@@ -106,7 +106,7 @@ function AddItemForm({ onNewItem }) {
disabled={!newItem.length}
className={submitting ? 'disabled' : ''}
>
- {submitting ? 'Adding...' : 'Add Item'}
+ {submitting ? 'Adding...' : 'OK'}