17 lines
195 B
Docker
17 lines
195 B
Docker
FROM fascinated/docker-images:node-latest
|
|
|
|
EXPOSE 80
|
|
ENV HOST=0.0.0.0
|
|
|
|
ARG GIT_REV
|
|
ENV GIT_REV ${GIT_REV}
|
|
|
|
COPY . /home/container
|
|
|
|
RUN ls -a
|
|
|
|
RUN npm install
|
|
|
|
RUN npm run build
|
|
|
|
CMD npm run start |