Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into master
  • Loading branch information
Lamachuk committed May 3, 2023
2 parents ea02ae9 + 0e4adc8 commit c26d9a8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM node:14.17.5-alpine

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .

RUN npm run build

EXPOSE 3231

ENV DEV_MODE=false
ENV USE_AUTH=false
ENV IS_TESTING=false

CMD [ "npm", "run", "server" ]
10 changes: 9 additions & 1 deletion src/public/modules/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Main extends Component {
super(props)
this.socket = props.socket.client

this.defaults = "sql_db"
this.defaults = "prod"
// this.defaults = "pascal2"

// TODO: was macht das/kann das entfernt werden/ersertzt?
Expand Down Expand Up @@ -186,6 +186,14 @@ class Main extends Component {
stationList_string: "Coronastation",
patientID: "Patient102",
},
prod:{
starttime: "2021-01-01",
endtime: "2021-01-02",
patientList_string: "",
pathogenList_string: "",
stationList_string: "",
patientID: "",
},
pathogenList_string: "COV",
stationList_string: "Station 14",
}
Expand Down

0 comments on commit c26d9a8

Please sign in to comment.