getting-started-app/Dockerfile
2024-10-07 12:05:28 -03:00

8 lines
145 B
Docker

FROM node:18-alpine
WORKDIR /app
COPY . .
RUN yarn install --production && yarn cache clean
ENTRYPOINT ["node"]
CMD ["src/index.js"]
EXPOSE 3000