getting-started-app/Dockerfile
2023-10-07 13:01:04 +05:30

8 lines
142 B
Docker

# syntax=docker/dockerfile:1
FROM node:18-alpine
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
EXPOSE 3000