Skip to content

Instantly share code, notes, and snippets.

@tarusharora
Created February 22, 2019 20:11
Show Gist options
  • Save tarusharora/49879aaab4205d18ae20281215f62e24 to your computer and use it in GitHub Desktop.
Save tarusharora/49879aaab4205d18ae20281215f62e24 to your computer and use it in GitHub Desktop.
Dockerfile
FROM node:10-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
ENV APP_SETTINGS_FILE_PATH '/usr/src/app/config/appSettings.json'
EXPOSE 9000
CMD ["node", "app.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment