mirror of
https://github.com/docker/getting-started-app.git
synced 2024-12-22 15:20:51 -05:00
9 lines
232 B
Docker
9 lines
232 B
Docker
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"]
|