mirror of
https://github.com/docker/getting-started-app.git
synced 2025-11-22 03:21:32 -05:00
Compare commits
3 Commits
dependabot
...
e8da7a4cff
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8da7a4cff | ||
|
|
f2d13b8483 | ||
|
|
b5e58510b6 |
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
Dockerfile
|
||||
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