-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Aaron Kanzer
authored and
Aaron Kanzer
committed
Feb 20, 2024
1 parent
2129a41
commit 11038f2
Showing
6 changed files
with
63 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Use Node.js version 12 as the base image | ||
FROM node:12-alpine | ||
|
||
# Set the working directory in the container | ||
WORKDIR /app | ||
|
||
# Install Python and build tools | ||
RUN apk add --update --no-cache python2 g++ make | ||
|
||
# Copy package.json and package-lock.json for installing dependencies | ||
COPY package*.json ./ | ||
|
||
# Install project dependencies | ||
RUN npm install | ||
|
||
# Copy the rest of your app's source code from your host to your image filesystem. | ||
COPY . . | ||
|
||
# Vue CLI serves on port 8080 by default, expose that port | ||
EXPOSE 8080 | ||
|
||
# Command to run the app using npm | ||
CMD ["npm", "run", "serve"] | ||
|
||
# to run locally: | ||
# docker build -f Dockerfile.dev -t yourapp . | ||
# docker run -v $(pwd):/app -p 8080:8080 --rm yourapp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
// module.exports = { | ||
// githubSrc: 'https://raw.githubusercontent.com/ReproNim/demo-protocol/master/DemoProtocol/DemoProtocol_schema', | ||
// startButton: { | ||
// "en": 'Join', | ||
// "es": 'Participar' | ||
// }, | ||
// assetsPublicPath: '/reproschema-ui/', | ||
// backendServer: null, | ||
// consent: true, | ||
// showHelp: true, | ||
// contact: '[email protected]', | ||
// emailSubject: 'Help with Covid19 study' | ||
// }; | ||
|
||
// Yibei's config | ||
module.exports = { | ||
githubSrc: 'https://raw.githubusercontent.com/ReproNim/demo-protocol/master/DemoProtocol/DemoProtocol_schema', | ||
startButton: { | ||
"en": 'Join', | ||
"es": 'Participar' | ||
}, | ||
/* eslint-disable */ | ||
githubSrc: 'https://raw.githubusercontent.com/repronim/nimh-minimal/main/nimh_minimal/nimh_minimal_schema', | ||
banner: 'NIMH data collection', | ||
startButton: 'Start', | ||
assetsPublicPath: '/reproschema-ui/', | ||
backendServer: null, | ||
consent: true, | ||
showHelp: true, | ||
contact: '[email protected]', | ||
emailSubject: 'Help with Covid19 study' | ||
backendServer: null | ||
}; |