-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
6fa98db
commit 2e9cc64
Showing
6 changed files
with
57 additions
and
15 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 @@ | ||
node_modules |
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,21 @@ | ||
|
||
FROM node:8.11.2 | ||
|
||
RUN mkdir -p /usr/src/sportsstore | ||
|
||
COPY dist/sport-store /usr/src/sportsstore/dist/SportsStore | ||
|
||
COPY authMiddleware.js /usr/src/sportsstore/ | ||
COPY serverdata.json /usr/src/sportsstore/ | ||
COPY server.js /usr/src/sportsstore/server.js | ||
COPY deploy-package.json /usr/src/sportsstore/package.json | ||
|
||
WORKDIR /usr/src/sportsstore | ||
|
||
RUN npm install | ||
|
||
EXPOSE 80 | ||
|
||
CMD ["node", "server.js"] | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"dependencies": { | ||
"bootstrap":"^5.2.1", | ||
"font-awesome": "4.7" | ||
}, | ||
"devDependencies": { | ||
"json-server": "^0.12.1", | ||
"jsonwebtoken": "^8.1.1", | ||
"express": "^4.16.3", | ||
"https": "^1.0.0", | ||
"connect-history-api-fallback": "^1.5.0" | ||
}, | ||
"script": { | ||
"start": "node server.js" | ||
} | ||
} |
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