i was just following this azure article to deploy my application using docker,
The following example creates an App Service plan named myAppServicePlan in the Basic pricing tier (--sku B1) and in a Linux container (--is-linux
).
az appservice plan create --name myAppServicePlan --resource-group myResourceGroup --sku B1 --is-linux
how can i create same webapp in windows container.
if i remove --is-linux
from the command application is not loading , when i hit my application url , it is showing azure default welcome page.
edit : 1
i am actually trying to deploy from dockerhub.
here is my dockerfile
FROM mhart/alpine-node:8
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY server/package.json /usr/src/app/
COPY empty.nwc /usr/src/app/
COPY empty.nwd /usr/src/app/
RUN npm install
# Bundle app source
COPY server/ /usr/src/app/
ENV PORT 80
RUN pwd
CMD [ "npm", "start" ]