mirror of
https://github.com/docker/getting-started-app.git
synced 2024-12-21 23:01:02 -05:00
Create Dockerfile
This commit is contained in:
parent
f2d13b8483
commit
38a6614750
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
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"]
|
Loading…
Reference in New Issue
Block a user