Skip to content

Commit

Permalink
chore: Update Express.js to version 4.21.0 and add project files
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Sep 27, 2024
1 parent 6c2f563 commit d9e9ee0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Framework/django/4.2.16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ghcr.io/labring-actions/devbox/python-3.12:d4059a
RUN cd /home/sealos/project && \
rm -rf ./*
COPY /Framework/django/4.2.16/project /home/sealos/project

RUN chown -R sealos:sealos /home/sealos/project && \
chmod -R u+rw /home/sealos/project && \
chmod -R +x /home/sealos/project/entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion Framework/express.js/4.21.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ghcr.io/labring-actions/devbox/node.js-20:747938

RUN cd /home/sealos/project && \
rm -rf ./*

COPY /Framework/express.js/4.21.0/project /home/sealos/project
RUN chown -R sealos:sealos /home/sealos/project && \
chmod -R u+rw /home/sealos/project && \
Expand Down
3 changes: 3 additions & 0 deletions Framework/express.js/4.21.0/project/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cd /home/sealos/project
node app.js
1 change: 1 addition & 0 deletions configs/name.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ chi=chi
react=react
iris=iris
django=django
express.js=express.js
1 change: 1 addition & 0 deletions configs/port.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ chi=8080
iris=8080
react=3000
django=8080
express.js=3000

0 comments on commit d9e9ee0

Please sign in to comment.