mirror of
https://github.com/docker/getting-started-app.git
synced 2025-07-04 00:11:26 -04:00
dockerfile created
This commit is contained in:
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