mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-10 06:44:13 +00:00
update some packages and base image
This commit is contained in:
parent
bbe2028e53
commit
edd37b55f5
3 changed files with 687 additions and 428 deletions
|
@ -1,10 +1,8 @@
|
|||
FROM node:12
|
||||
FROM node:16
|
||||
|
||||
# Set up directory for the server
|
||||
RUN mkdir /app/
|
||||
WORKDIR /app/
|
||||
|
||||
# Copy front-end over
|
||||
COPY front-end/ /app/front-end/
|
||||
WORKDIR /app/front-end/
|
||||
RUN npm install
|
||||
|
@ -27,9 +25,7 @@ COPY docker-entrypoint.sh /app/
|
|||
RUN chmod +x /app/docker-entrypoint.sh
|
||||
COPY templates /app/templates
|
||||
|
||||
# Expose both HTTP and HTTPS ports
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
USER 1111
|
||||
|
||||
# Start the server
|
||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||
|
|
1105
package-lock.json
generated
1105
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -23,7 +23,7 @@
|
|||
"keygrip": "^1.1.0",
|
||||
"memorystore": "^1.6.6",
|
||||
"moment": "^2.29.1",
|
||||
"multer": "^1.4.2",
|
||||
"multer": "^1.4.5-lts.1",
|
||||
"mustache": "^4.1.0",
|
||||
"nodemailer": "^6.5.0",
|
||||
"pg": "^8.5.1",
|
||||
|
|
Loading…
Reference in a new issue