-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from sabbour/master
Added code
- Loading branch information
Showing
29 changed files
with
10,688 additions
and
13 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,6 @@ | ||
.git | ||
*Dockerfile* | ||
.gitignore | ||
node_modules | ||
.DS_Store | ||
*.md |
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 |
---|---|---|
|
@@ -348,3 +348,6 @@ MigrationBackup/ | |
|
||
# Ionide (cross platform F# VS Code tools) working folder | ||
.ionide/ | ||
|
||
.DS_Store | ||
dist/ |
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,19 @@ | ||
FROM node:13.5-alpine | ||
|
||
WORKDIR /usr/src/app | ||
|
||
# Install build dependencies via apk | ||
RUN apk update && apk add python g++ make && rm -rf /var/cache/apk/* | ||
|
||
# Install node dependencies - done in a separate step so Docker can cache it | ||
COPY package*.json ./ | ||
RUN npm install | ||
|
||
# Copy project files into the image | ||
COPY . . | ||
|
||
# Expose port 8080, which is what the node process is listening to | ||
EXPOSE 8080 | ||
|
||
# Set the startup command to 'npm start' | ||
CMD [ "npm", "start"] |
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
Oops, something went wrong.