Configurable website in Docker

This commit is contained in:
2023-01-02 11:19:30 -08:00
commit e6cd7a0f6d
6 changed files with 425 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
# 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"]