File tree 4 files changed +12
-13
lines changed
4 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ node_modules
4
4
dist
5
5
* .log
6
6
.env
7
- static /style.css
8
-
9
- # virtualenvs
10
7
.nvenv /
11
- .venv /
8
+ .venv /
9
+ static /style.css
Original file line number Diff line number Diff line change @@ -16,11 +16,10 @@ ENV HOST=0.0.0.0
16
16
ENV PORT=3000
17
17
EXPOSE 3000
18
18
WORKDIR /app
19
- USER node
20
- COPY --chown=node:node package*.json ./
21
- COPY --chown=node:node static ./static
22
- COPY --chown=node:node src/views ./dist/views
23
- COPY --from=builder --chown=node:node /app/node_modules ./node_modules
19
+ COPY --from=builder --chown=node:node /app/package*.json ./
20
+ COPY --from=builder --chown=node:node /app/static ./static
21
+ COPY --from=builder --chown=node:node /app/src/views ./dist/views
24
22
COPY --from=builder --chown=node:node /app/dist ./dist
25
23
RUN npm install --omit=dev
24
+ USER node
26
25
CMD ["npm" , "start" ]
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 0.2.6 " ,
2
+ "version" : " 0.2.7 " ,
3
3
"name" : " tech-pizza-delivery-waiter" ,
4
4
"title" : " Tech&Pizza Delivery Waiter" ,
5
5
"description" : " A simple event delivery booking management system" ,
6
6
"owner" : " GDG Valle d'Aosta" ,
7
7
"authors" : [
8
- " Manuel Zavatta <manuel.zavatta@gmail.com>"
8
+ " Manuel Zavatta <manuel.zavatta@gmail.com>" ,
9
+ " Alain Martini <manuel.zavatta@gmail.com>" ,
10
+ " Mirtilla Cecchi <mirtillacecchi@gmail.com>" ,
11
+ " Giufus Anonymous <giufus@gmail.com>"
9
12
],
10
13
"license" : " MIT" ,
11
14
"keywords" : [
15
18
],
16
19
"main" : " main.js" ,
17
20
"scripts" : {
18
- "build" : " tsc && tailwindcss -i ./src/css/style.css -o ./static/style.css && cp -rp ./src/views ./dist" ,
19
21
"start" : " node dist/main.js" ,
22
+ "build" : " tsc && tailwindcss -i ./src/css/style.css -o ./static/style.css && cp -rp ./src/views ./dist" ,
20
23
"watch" : " concurrently \" nodemon --exec tsx src/main.ts\" \" tailwindcss -i ./src/css/style.css -o ./static/style.css --watch\" "
21
24
},
22
25
"dependencies" : {
Original file line number Diff line number Diff line change @@ -11,4 +11,3 @@ module.exports = {
11
11
filename : 'style.css'
12
12
}
13
13
}
14
-
You can’t perform that action at this time.
0 commit comments