Skip to content

Instantly share code, notes, and snippets.

@quocthinhle
Created January 22, 2022 08:10
Show Gist options
  • Save quocthinhle/2e37051e97002c38921219dafd93488a to your computer and use it in GitHub Desktop.
Save quocthinhle/2e37051e97002c38921219dafd93488a to your computer and use it in GitHub Desktop.
FROM node:alpine
RUN mkdir -p /usr/src/app
COPY . ./usr/src/app
WORKDIR /usr/src/app
RUN npm install
EXPOSE 3000
CMD ["npm", "run", "hehe"]
// npm run hehe: rm -rf dist && tsc && node dist/bin/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment