cryptalk/Dockerfile

8 lines
219 B
Docker
Raw Normal View History

2021-11-03 15:35:57 -04:00
FROM node:16-alpine
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN npm install --no-cache
EXPOSE 8080
RUN chmod +x /usr/src/app/docker-entrypoint.sh
ENTRYPOINT ["/usr/src/app/docker-entrypoint.sh", "npm", "start"]