This repository was archived by the owner on Jun 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Add Docker #51
Open
davisokoth
wants to merge
13
commits into
Coding-Coach:development
Choose a base branch
from
davisokoth:development
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add Docker #51
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
aa6b9a6
project: containerize app
davisokoth e270e71
project: eslint
davisokoth fc91eda
project: merge upstream development
davisokoth ab71d3f
project: add docker-compose file
davisokoth 6fa7b23
docker: fix file paths and names
davisokoth ab44d2f
Merge branch 'development' into development
davisokoth 75a4cce
project: allow permissions to `.dotnet` folder
davisokoth e15e17a
project: prefer `tslint` over `eslint`
davisokoth 297e646
Merge branch 'development' of https://github.com/davisokoth/coding-co…
davisokoth 508f4ad
Merge branch 'development' into development
davisokoth bf821ad
project: disable import ordering lint rule
davisokoth d7b3467
Merge branch 'development' of https://github.com/davisokoth/coding-co…
davisokoth 304c7db
project: add azurite `Dockerfile`
davisokoth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,6 +1,13 @@ | ||
FROM node:lts | ||
RUN apt-get update | ||
RUN apt-get install dos2unix | ||
RUN yarn global add azurite | ||
RUN dos2unix /usr/local/share/.config/yarn/global/node_modules/azurite/bin/azurite | ||
ENTRYPOINT azurite | ||
FROM mcr.microsoft.com/azure-functions/node:2.0 | ||
|
||
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global | ||
ENV PATH=$PATH:/home/node/.npm-global/bin | ||
WORKDIR /home/node | ||
ENV AzureWebJobsScriptRoot=/home/node | ||
COPY package.json /home/node | ||
# RUN npm i -g copyfiles onchange rimraf typescript ttypescript | ||
RUN npm i -g azure-functions-core-tools@core --unsafe-perm true | ||
RUN npm install | ||
COPY . /home/node | ||
EXPOSE 7071 | ||
CMD [ "npm", "run", "start"] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.