File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 79
79
heroku_api_key : ${{ secrets.HEROKU_API_KEY }}
80
80
heroku_app_name : " dsomm"
81
81
heroku_email : timo.pagel@owasp.org
82
- branch : ${{ env.HEROKU_BRANCH }}
82
+ branch : ${{ env.HEROKU_BRANCH }}
83
+ usedocker : true
Original file line number Diff line number Diff line change
1
+ {
2
+ http_port {$PORT}
3
+ }
4
+
5
+ localhost :{$PORT} {
6
+ encode gzip
7
+ log stdout
8
+ file_server
9
+ }
Original file line number Diff line number Diff line change @@ -9,15 +9,9 @@ RUN npm run build
9
9
10
10
FROM wurstbrot/dsomm-yaml-generation as yaml
11
11
12
- FROM nginx:alpine
12
+ FROM caddy
13
+ ENV PORT 8080
13
14
14
- RUN chown -R nginx:nginx /var/cache/nginx \
15
- && chown -R nginx:nginx /var/log/nginx \
16
- && touch /var/run/nginx.pid \
17
- && chown -R nginx:nginx /var/run/nginx.pid
18
-
19
- COPY --from=yaml ["/var/www/html/src/assets/YAML/generated/generated.yaml" , "/usr/share/nginx/html/assets/YAML/generated/generated.yaml" ]
20
- COPY ["nginx/default.conf" , "/etc/nginx/conf.d/" ]
21
- COPY --from=build ["/usr/src/app/dist/dsomm/" , "/usr/share/nginx/html/" ]
22
-
23
- USER nginx
15
+ COPY Caddyfile /etc/caddy/Caddyfile
16
+ COPY --from=build ["/usr/src/app/dist/dsomm/" , "/srv" ]
17
+ COPY --from=yaml ["/var/www/html/src/assets/YAML/generated/generated.yaml" , "/srv/assets/YAML/generated/generated.yaml" ]
You can’t perform that action at this time.
0 commit comments