mirror of
https://github.com/docker/getting-started-app.git
synced 2025-07-04 08:21:08 -04:00
Compare commits
4 Commits
dependabot
...
3a4f3fe3b9
Author | SHA1 | Date | |
---|---|---|---|
3a4f3fe3b9 | |||
f2d13b8483 | |||
b5e58510b6 | |||
dad3e1179b |
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
Dockerfile
|
6
docker file
Normal file
6
docker file
Normal file
@ -0,0 +1,6 @@
|
||||
FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN yarn install --production
|
||||
CMD ["node", "src/index.js"]
|
||||
EXPOSE 3000
|
Reference in New Issue
Block a user