Docker-test spa with react

This commit is contained in:
Geir Okkenhaug Jerstad 2024-09-27 14:47:29 +02:00
parent 5cc8829147
commit 4a76e9c9d2
3 changed files with 5 additions and 7 deletions

View file

@ -1,8 +1,9 @@
const model = {
app: {
page: 'search'
pages: [],
page: 'search',
loggedInUserId: null,
},
inputs : {
search: {
text: '',
@ -21,11 +22,8 @@ const model = {
email: '',
},
},
// felles data
people: [
{ id: 1, name: 'Per', email: 'per@mail.com'},
],
],
}

View file

@ -1,7 +1,7 @@
# frontend/Dockerfile
FROM node:22.9-alpine3.19 AS prod
WORKDIR /
WORKDIR /react_test/spa_react/
COPY public/ /public
COPY src/ /src

View file