3 Commits

Author SHA1 Message Date
a433fc66ac Merge dad3e1179b into b13a9f1409 2024-02-28 14:15:19 +01:00
dad3e1179b Create docker file 2024-02-28 14:15:04 +01:00
b13a9f1409 Update package.json
Add legacy polling (-L) to nodemon in order to work with volumes on Windows.
2023-10-12 13:26:12 -07:00
2 changed files with 7 additions and 1 deletions

6
docker file Normal file
View File

@ -0,0 +1,6 @@
FROM node:18-alpine
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
EXPOSE 3000

View File

@ -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",