mirror of
https://github.com/docker/getting-started-app.git
synced 2025-07-04 00:11:26 -04:00
Compare commits
1 Commits
main
...
e8da7a4cff
Author | SHA1 | Date | |
---|---|---|---|
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
|
Reference in New Issue
Block a user