cryptalk/Dockerfile

7 lines
201 B
Docker

FROM node:alpine
COPY . /usr/src/app
RUN npm install && \
npm cache clean
EXPOSE 8080
RUN chmod +x /usr/src/app/docker-entrypoint.sh
ENTRYPOINT ["/usr/src/app/docker-entrypoint.sh", "npm", "start"]