Skip to content

Commit

Permalink
Hotfix: GitHub actions (#2896)
Browse files Browse the repository at this point in the history
* chore: Remove broken actions

* fix: Docker build

* chore: Bump version
  • Loading branch information
garethfuller authored Feb 21, 2023
1 parent dbb16ec commit ee4e237
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 62 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/develop-merge.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/release.yml

This file was deleted.

8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# It requires specifying an Infura API key to pull data.
# See README for futher information

FROM node:14 AS base
FROM node:16 AS base

ENV APP_ROOT /app
RUN mkdir ${APP_ROOT}
Expand All @@ -13,18 +13,18 @@ FROM base AS dependencies
COPY prepare.js ./
COPY package*.json ./

RUN npm install -g npm@7
RUN npm install -g npm@8
RUN npm ci

FROM dependencies AS build

COPY . .
RUN npm run build -- --mode docker
RUN npm run build:docker -- --mode docker

FROM nginx:1.23.3-alpine as release

COPY --from=build /app/dist /usr/share/nginx/html
COPY --from=build /app/scripts/docker-init.sh /
EXPOSE 80

CMD ["/docker-init.sh"]
CMD ["/docker-init.sh"]
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:14-alpine
FROM node:16-alpine

RUN npm install -g npm@7
RUN npm install -g npm@8
RUN mkdir -p /app
WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balancer-labs/frontend-v2",
"version": "1.90.5",
"version": "1.90.6",
"engines": {
"node": "=16",
"npm": ">=8"
Expand All @@ -10,6 +10,7 @@
"dev": "npm run generate:tokenlists && vite",
"serve": "npm run dev",
"build": "npm run generate:tokenlists && vite build",
"build:docker": "export NODE_OPTIONS=--max-old-space-size=8192 && npm run build",
"build:withouttokenlists": "vite build",
"build:watch": "vite build --watch",
"preview": "vite preview",
Expand Down

0 comments on commit ee4e237

Please sign in to comment.