mirror of
https://github.com/docker/getting-started-app.git
synced 2024-12-22 15:20:51 -05:00
7 lines
148 B
Docker
7 lines
148 B
Docker
|
FROM node:18-alpine
|
||
|
WORKDIR /app
|
||
|
COPY . .
|
||
|
RUN yarn install --production && yarn cache clean
|
||
|
ENTRYPOINT [ "node" ]
|
||
|
CMD [ "src/index.js" ]
|
||
|
EXPOSE 3000
|