Dockerfile 204 Bytes
Newer Older
Dennis Willers's avatar
Dennis Willers committed
1 2 3
FROM node:12.18.1
ENV NODE_ENV=production
EXPOSE 8080
4
EXPOSE 3000
5
EXPOSE 80
Dennis Willers's avatar
Dennis Willers committed
6 7 8 9 10
WORKDIR /app
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install --production
COPY . .
CMD [ "node", "index.js" ]