Docker-test spa with react
This commit is contained in:
parent
5cc8829147
commit
4a76e9c9d2
|
@ -1,8 +1,9 @@
|
||||||
const model = {
|
const model = {
|
||||||
app: {
|
app: {
|
||||||
page: 'search'
|
pages: [],
|
||||||
|
page: 'search',
|
||||||
|
loggedInUserId: null,
|
||||||
},
|
},
|
||||||
|
|
||||||
inputs : {
|
inputs : {
|
||||||
search: {
|
search: {
|
||||||
text: '',
|
text: '',
|
||||||
|
@ -21,11 +22,8 @@ const model = {
|
||||||
email: '',
|
email: '',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// felles data
|
// felles data
|
||||||
people: [
|
people: [
|
||||||
{ id: 1, name: 'Per', email: 'per@mail.com'},
|
{ id: 1, name: 'Per', email: 'per@mail.com'},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# frontend/Dockerfile
|
# frontend/Dockerfile
|
||||||
FROM node:22.9-alpine3.19 AS prod
|
FROM node:22.9-alpine3.19 AS prod
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /react_test/spa_react/
|
||||||
|
|
||||||
COPY public/ /public
|
COPY public/ /public
|
||||||
COPY src/ /src
|
COPY src/ /src
|
||||||
|
|
0
team/Emne2/slider/index.html
Normal file
0
team/Emne2/slider/index.html
Normal file
Loading…
Reference in a new issue