Add HOST 0.0.0.0

This commit is contained in:
Liyas Thomas
2020-08-24 05:45:35 +05:30
committed by GitHub
parent 6915ea70ca
commit ad98284caf

View File

@@ -6,7 +6,9 @@ LABEL maintainer="Liyas Thomas (liyascthomas@gmail.com)"
RUN apk add --update --no-cache \
git
# Create app directory
WORKDIR /app
ADD . /app/
COPY package*.json ./
@@ -14,8 +16,9 @@ RUN npm install
COPY . .
RUN npm run build
RUN npm run generate
ENV HOST 0.0.0.0
EXPOSE 3000
CMD ["npm", "run", "start"]