getting-started-app/Dockerfile
2024-12-11 01:17:50 +05:30

9 lines
232 B
Docker
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM node:18
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install
COPY . .
RUN apt-get update && apt-get install -y python3 build-essential && ln -s /usr/bin/python3 /usr/bin/python
EXPOSE 3000
CMD ["node", "src/index.js"]