mma-gpacts-app/Dockerfile

18 lines
279 B
Docker

# 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"]