Files
hoppscotch/Dockerfile
Hari Narayanan b774a59db2 Web Worker regex test (#1354)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-12-01 21:21:13 +05:30

26 lines
379 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
COPY package*.json ./
RUN npm install
ADD . /app/
COPY . .
RUN npm run generate
ENV HOST 0.0.0.0
EXPOSE 3000
CMD ["npm", "run", "start"]