mirror of
https://github.com/docker/getting-started-app.git
synced 2025-07-04 16:31:09 -04:00
Compare commits
3 Commits
dependabot
...
a433fc66ac
Author | SHA1 | Date | |
---|---|---|---|
a433fc66ac | |||
dad3e1179b | |||
b13a9f1409 |
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
|
@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"prettify": "prettier -l --write \"**/*.js\"",
|
"prettify": "prettier -l --write \"**/*.js\"",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"dev": "nodemon src/index.js"
|
"dev": "nodemon -L src/index.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
|
Reference in New Issue
Block a user