mma-gpacts-app/Dockerfile

18 lines
279 B
Docker
Raw Permalink Normal View History

2020-04-04 22:50:15 +00:00
# Based on node
FROM node:13-alpine
RUN apk add git
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
RUN git clone https://git.heshapps.com/asolkar/mma-gpacts-app.git .
RUN npm install
RUN npm ci --only=production
EXPOSE 3000
CMD ["node", "index.js"]