mirror of
https://github.com/docker/getting-started-app.git
synced 2025-02-23 05:53:26 -05:00
dockerfile created
This commit is contained in:
parent
f2d13b8483
commit
e8da7a4cff
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM node:18-alpine
|
||||||
|
WORKDIR /app
|
||||||
|
COPY . .
|
||||||
|
RUN yarn install --production && yarn cache clean
|
||||||
|
ENTRYPOINT ["node"]
|
||||||
|
CMD ["src/index.js"]
|
||||||
|
EXPOSE 3000
|
Loading…
Reference in New Issue
Block a user