Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(deps): Bump express from 4.21.1 to 4.21.2 in the npm_and_yarn group across 1 directory #290

Closed
Closed
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4141c17
v2.0.0 (#263)
rickimoore Jul 11, 2024
b9476ca
don't use a keyfile for ssl cert (#265)
antondlr Jul 18, 2024
e1425ad
Clean slate stable (#267)
rickimoore Jul 24, 2024
ccff867
upload signatures right next to binaries (#223)
antondlr Sep 28, 2023
6a90521
Feat/proposer duties (#226)
rickimoore Nov 2, 2023
b77c448
Fix: node upgrade (#227)
rickimoore Mar 2, 2024
b1c3afd
Feat: ssr refactor (#232)
rickimoore Jun 20, 2024
0becf78
fix: remove storybook components and dependencies (#237)
rickimoore Jun 24, 2024
0b7256f
Fix workflows (#240)
antondlr Jun 24, 2024
eca34cc
add error handling to startup logic (#239)
antondlr Jun 24, 2024
2e7157f
fix: dynamic server (#244)
rickimoore Jun 25, 2024
6791ead
Fix: prune deps (#242)
rickimoore Jun 25, 2024
7821afe
overhaul config (.env / env vars) mechanism
antondlr Jun 25, 2024
3b872e8
add docker-compose (#243)
antondlr Jun 25, 2024
e0cb480
remove dev dockerfile
antondlr Jun 25, 2024
aa37da1
Fix: debug logs (#245)
rickimoore Jun 25, 2024
d92383a
Update README.md
antondlr Jun 26, 2024
119fd09
switch to phat node image for prod
antondlr Jun 26, 2024
975046d
Fix: readme (#247)
rickimoore Jun 26, 2024
397013c
fix: proposer duties error response (#248)
rickimoore Jun 26, 2024
a853d59
Fix/light mode (#249)
rickimoore Jun 26, 2024
e412afd
install netcat, amend connectivity test
antondlr Jun 27, 2024
b7b9fd4
Fix: prod build (#250)
rickimoore Jun 27, 2024
c0d7332
version bump
antondlr Jun 27, 2024
b88330d
Rename auth variables (#252)
AgeManning Jul 1, 2024
a4ca5c4
Fix some typos (#257)
AgeManning Jul 4, 2024
071b824
add docker hub instructions to release template (#260)
antondlr Jul 11, 2024
0eac8c8
don't use a keyfile for ssl cert
antondlr Jul 16, 2024
32f4d1c
Feat: Enable Deposits (#268)
rickimoore Dec 10, 2024
5569384
fix dockerhub login
antondlr Dec 10, 2024
7cb2022
Fix: code cleanup (#284)
rickimoore Dec 11, 2024
26331d1
fix: env ports (#273)
rickimoore Dec 12, 2024
6e21958
Fix/deposit json (#282)
rickimoore Dec 16, 2024
ad63b52
Fix: format checksum address (#283)
rickimoore Dec 16, 2024
03be39a
Fix: participation rate accuracy (#285)
rickimoore Dec 16, 2024
769f142
Fix:build fix deposits (#287)
rickimoore Dec 16, 2024
b8be138
Chore(deps): Bump express in the npm_and_yarn group across 1 directory
dependabot[bot] Dec 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
switch to phat node image for prod
antondlr authored and rickimoore committed Dec 17, 2024
commit 119fd097a08c44f942bb4237d06d6a8af5ed648c
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -4,15 +4,15 @@ ARG node_image=node:${node_version}
FROM $node_image AS builder

ENV NEXT_TELEMETRY_DISABLED=1 \
NODE_ENV=production
NODE_ENV=development
WORKDIR /app
COPY . /app/

RUN yarn --network-timeout 300000; \
yarn build
NODE_ENV=production yarn build
WORKDIR /app/backend
RUN yarn --network-timeout 300000; \
yarn build
NODE_ENV=production yarn build

FROM alpine AS intermediate

@@ -27,14 +27,15 @@ COPY --from=builder /app/node_modules /app/node_modules
COPY --from=builder /app/public /app/public
COPY --from=builder /app/.next /app/.next

FROM node:${node_version}-alpine AS production
FROM $node_image AS production

ENV NODE_ENV=production
RUN npm install --global pm2; \
apk add --no-cache nginx openssl curl
apt update; \
apt install -y nginx openssl curl

RUN rm /etc/nginx/http.d/default.conf; \
ln -s /app/docker-assets/siren-http.conf /etc/nginx/http.d/siren-http.conf
RUN rm /etc/nginx/sites-enabled/default; \
ln -s /app/docker-assets/siren-http.conf /etc/nginx/conf.d/siren-http.conf

COPY --from=intermediate /app /app/

4 changes: 2 additions & 2 deletions docker-assets/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/ash
#!/bin/bash

# configure default vars if none provided
set -a
@@ -37,7 +37,7 @@ if [ $SSL_ENABLED = true ] ; then
openssl req -x509 -newkey rsa:4096 -keyout /certs/key.pem -out /certs/cert.pem -days 365 -passout pass:'sigmaprime' -subj "/C=AU/CN=siren/emailAddress=noreply@sigmaprime.io"
echo 'sigmaprime' > /certs/key.pass
fi
ln -s /app/docker-assets/siren-https.conf /etc/nginx/http.d/siren-https.conf
ln -s /app/docker-assets/siren-https.conf /etc/nginx/conf.d/siren-https.conf
fi