FROM node:12

WORKDIR /app

COPY package.json .

COPY . .

RUN npm install

CMD ["npm", "run", "build"]
FROM node:12

EXPOSE 3000

WORKDIR /app

COPY . .

RUN npm install && npm cache clean --force

CMD [ "node", "./bin/www" ]
#FROM ubuntu:16.04
FROM node:alpine
RUN mkdir -p /app
COPY . /app
WORKDIR /app
ARG DEBIAN_FRONTEND=noninteractive

RUN apk update \
&& apk upgrade \
&& apk add --no-cache bash git openssh \
&& npm install \
&& chown -R node:node /app \
&& npm rebuild node-sass \
&& npm cache clean --force

USER node
WORKDIR /app

EXPOSE 4000

CMD ["npm", "start"]

FROM php:7-apache

MAINTAINER Nakiami 

RUN apt-get update && apt-get install -y \
    git \
    libssl-dev \
    libcurl4-openssl-dev \
    pkg-config \
    zip \
    unzip

RUN docker-php-ext-install mbstring curl pdo pdo_mysql

COPY . /var/www/mellivora
COPY install/lamp/mellivora.apache.conf /etc/apache2/sites-available/000-default.conf

ENV COMPOSER_ALLOW_SUPERUSER=1
RUN curl -sS https://getcomposer.org/installer | php
RUN mv composer.phar /usr/local/bin/composer
RUN composer global require hirak/prestissimo
WORKDIR /var/www/mellivora/
RUN composer install --no-dev --optimize-autoloader

RUN chown -R www-data:www-data /var/www/mellivora
RUN a2enmod rewrite
FROM gcr.io/google_containers/pause-amd64:3.1
MAINTAINER fana
FROM node:alpine

FROM alpine:latest

RUN apk update && apk upgrade && apk add gcc musl-dev

WORKDIR /home/shinsaku

COPY . /home/shinsaku
FROM microsoft/dotnet:3.0-sdk AS build-env
WORKDIR /app

# Copy csproj and restore as distinct layers
COPY *.csproj ./
RUN dotnet restore

# Copy everything else and build
COPY . ./
RUN dotnet publish -c Release -o out

# Build runtime image
FROM microsoft/dotnet:3.0-aspnetcore-runtime
WORKDIR /app
COPY --from=build-env /app/out .
CMD dotnet SeeNow2.dll
FROM postgres:11-alpine

ENV POSTGRES_DATABASE **None**
ENV POSTGRES_HOST **None**
ENV POSTGRES_PORT **None**
ENV POSTGRES_USER **None**
ENV POSTGRES_PASSWORD **None**
ENV SCHEDULE **None**
ENV FTP_URL **None**
ENV FTP_USER **None**
ENV FTP_PASSWORD **None**
ENV CHECK_URL **None**

RUN apk update && apk add curl
ADD backup.sh /backup.sh
ADD run.sh /run.sh
RUN chmod +x /backup.sh && chmod +x /run.sh

USER root

CMD ["sh", "run.sh"]
# Python support can be specified down to the minor or micro version
# (e.g. 3.6 or 3.6.3).
# OS Support also exists for jessie & stretch (slim and full).
# See https://hub.docker.com/r/library/python/ for all supported Python
# tags from Docker Hub.
FROM python:alpine
MAINTAINER Pappu_Yadav
# If you prefer miniconda:
#FROM continuumio/miniconda3



LABEL Name=the_weather Version=0.0.1
EXPOSE 8000

WORKDIR /app
ADD . /app
COPY . /app/
COPY requirements.txt ./
# Using pip:
RUN python3 -m pip install -r requirements.txt
CMD ["python3", "-m", "the_weather"]

EXPOSE 8000


# docker tag the_weather pappubca005/docker-repo:the_weather
# docker push pappubca005/docker-repo:the_weather