18 lines
278 B
Docker
18 lines
278 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-website.git .
|
||
|
|
||
|
RUN npm install
|
||
|
RUN npm ci --only=production
|
||
|
|
||
|
EXPOSE 3000
|
||
|
CMD ["node", "website.js"]
|
||
|
|