Files
hoppscotch/Dockerfile
2020-08-24 05:45:35 +05:30

25 lines
378 B
Docker

FROM node:12.10.0-alpine
LABEL maintainer="Liyas Thomas (liyascthomas@gmail.com)"
# Add git as the prebuild target requires it to parse version information
RUN apk add --update --no-cache \
git
# Create app directory
WORKDIR /app
ADD . /app/
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run generate
ENV HOST 0.0.0.0
EXPOSE 3000
CMD ["npm", "run", "start"]