mma-website/Dockerfile

18 lines
278 B
Docker
Raw Normal View History

2023-01-02 19:19:30 +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-website.git .
RUN npm install
RUN npm ci --only=production
EXPOSE 3000
CMD ["node", "website.js"]