Files
hoppscotch/Dockerfile
2021-06-21 16:31:40 +05:30

26 lines
373 B
Docker

FROM node:12-alpine
LABEL maintainer="Hoppscotch (support@hoppscotch.io)"
# 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 . .
ENV HOST 0.0.0.0
EXPOSE 3000
RUN mv .env.example .env
CMD ["npm", "run", "dev"]