gitlab-org--gitlab-foss/vendor/Dockerfile/Node-alpine.Dockerfile
2018-09-10 10:30:17 +02:00

17 lines
341 B
Docker

FROM node:10.6-alpine
# Uncomment if use of `process.dlopen` is necessary
# apk add --no-cache libc6-compat
ENV PORT 8080
EXPOSE 8080 # replace this with your application's default port, if necessary
ARG NODE_ENV=production
ENV NODE_ENV $NODE_ENV
WORKDIR /usr/src/app
COPY package.json .
RUN npm install
COPY . .
CMD [ "npm", "start" ]