Skip to content

Commit

Permalink
QOL updates
Browse files Browse the repository at this point in the history
Update node and python, add image name in docker-compose, package.json update
  • Loading branch information
lacksfish committed Mar 15, 2022
1 parent 7761abf commit e50280f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:13.14.0-stretch-slim
FROM nikolaik/python-nodejs:python3.7-nodejs16-slim
RUN mkdir /home/dvws-node
WORKDIR /home/dvws-node
RUN apt-get update && apt-get install -y git python3 build-essential --no-install-recommends
RUN apt-get update && apt-get install -y git build-essential --no-install-recommends
COPY . .
RUN npm install --build-from-source
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.7.3/wait /wait
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait /wait
RUN chmod +x /wait
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
environment:
MYSQL_ROOT_PASSWORD: mysecretpassword
web:
image: snoopysecurity/dvws-node:latest
build: .
ports:
- "80:80"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"cors": "^2.8.5",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"express-fileupload": "richardgirges/express-fileupload#1.1.7-alpha.4",
"express-fileupload": "1.1.7-alpha.4",
"express-jwt": "^5.3.1",
"express-jwt-permissions": "^1.3.3",
"graphql": "^16.1.0",
Expand Down

0 comments on commit e50280f

Please sign in to comment.