14 lines
240 B
Docker
14 lines
240 B
Docker
ARG REPO_LOCATION
|
|
# ARG BASE_VERSION
|
|
|
|
FROM ${REPO_LOCATION}minideb-node
|
|
|
|
RUN npm install --global serve && rm -rf "$(npm get cache)";
|
|
|
|
VOLUME [ "/srv" ]
|
|
|
|
USER 80:80
|
|
|
|
ENV NODE_ENV production
|
|
WORKDIR /srv
|
|
ENTRYPOINT [ "serve", "-l", "5000" ]
|