mirror of
https://github.com/docker/getting-started-app.git
synced 2025-07-01 07:21:34 -04:00
adicionando dockerfile e mudança readme.
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
COPY package.json .
|
||||
RUN apk add --no-cache python3 g++ make
|
||||
RUN yarn install --production
|
||||
COPY . .
|
||||
CMD ["node", "src/index.js"]
|
||||
EXPOSE 3000
|
Reference in New Issue
Block a user