Dockerfile updates

This commit is contained in:
2024-12-03 22:31:49 -05:00
parent df8b93c6a6
commit 8572ecf635
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
FROM node:18 FROM node:18
WORKDIR /app WORKDIR /usr/src/app
COPY package*.json ./ COPY package*.json ./
RUN npm install RUN npm install
COPY . . COPY . .
EXPOSE 3000 EXPOSE 3000
CMD ["npm", "start"] CMD ["npm", "start"]

View File

@@ -1,6 +1,6 @@
{ {
"name": "looking-api", "name": "looking-api",
"version": "0.1.0", "version": "0.1.1",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "node ./bin/www" "start": "node ./bin/www"
@@ -30,7 +30,7 @@
"nodemon": "^1.11.0", "nodemon": "^1.11.0",
"request": "^2.79.0" "request": "^2.79.0"
}, },
"description": "Urge App API", "description": "Looking App API",
"main": "app.js", "main": "app.js",
"directories": { "directories": {
"test": "tests" "test": "tests"