Skip to content
Snippets Groups Projects
Commit 94ff3c59 authored by Xiao Gui's avatar Xiao Gui
Browse files

debug: dockerfile

parent a5970f60
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,6 @@ COPY . /iv
WORKDIR /iv
ENV VERSION=devNext
ENV DOCKER_BUILD=true
RUN npm i
RUN npm run build-aot
......@@ -19,6 +18,7 @@ FROM node:8-alpine
ARG PORT
ENV PORT=$PORT
ENV NODE_ENV=production
ENV DOCKER_BUILD=true
RUN apk --no-cache add ca-certificates
RUN mkdir /iv-app
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment