Skip to content

Instantly share code, notes, and snippets.

View MaximRouiller's full-sized avatar
🏠
Working from home

Maxime Rouiller MaximRouiller

🏠
Working from home
View GitHub Profile
@MaximRouiller
MaximRouiller / Dockerfile
Created February 21, 2019 19:04
NodeJS Multistage Dockerfile
#build stage for a Node.js application
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
#production stage
FROM nginx:stable-alpine as production-stage
Param (
[Parameter(Mandatory = $true)]
[string]$RepositoryUrl,
[string]$org
)
$RepositoryName = $RepositoryUrl.Split('/')[4]
git clone $RepositoryUrl
cd $RepositoryName
git checkout -b repositoryurl

Keybase proof

I hereby claim:

  • I am maximrouiller on github.
  • I am maximrouiller (https://keybase.io/maximrouiller) on keybase.
  • I have a public key ASAzChgehk2OF52sMJsrNUN-nJopQylFGBr_uSetk0HkZwo

To claim this, I am signing this object: