Skip to content

nsoria1/Azure-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Up and running with Azure Functions and Docker

This is a simple project to get an Azure function running inside a Docker container. You may want to check my Medium This Readme file will have only the main information.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Disclaimer: I used Windows 10 Pro for this demostration, but can be replicated on Ubuntu 16.04 or higher. Steps may differ.

Running the tests

Step 1: Initialize an Azure function. This tutorial was done choosing node.js

Initialize Azure Docker function. func init . --docker

Step 2: Create a new function This tutorial was done choosing HTTP trigger template.

Create a new function func new

Step 3: Build and run the container! Build a docker container docker build -t azurefuntiondemo .

Run docker container docker run -p 8080:80 azurefunctiondemo

Step 4: Check your progress! Check link http://localhost:8080 to validate your function is up and running.

Authors

About

Repository for Azure Functions Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published