mirror of
https://github.com/docker/getting-started-app.git
synced 2025-07-04 00:11:26 -04:00
Compare commits
1 Commits
a433fc66ac
...
add-docker
Author | SHA1 | Date | |
---|---|---|---|
b5e58510b6 |
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
Dockerfile
|
@ -1,6 +0,0 @@
|
||||
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