mirror of
https://github.com/docker/getting-started-app.git
synced 2024-11-16 15:41:17 -05:00
8 lines
173 B
Docker
8 lines
173 B
Docker
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 |