Skip to content

Commit

Permalink
release[skip ci]: v1.0.0-alpha.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ChingCdesu committed Sep 28, 2023
1 parent c2c5786 commit 55b1ab6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
FROM emscripten/emsdk:3.1.46 as build
FROM docker.io/emscripten/emsdk:3.1.46 as build
WORKDIR /code

COPY . .
RUN npm i -g pnpm
RUN apt update && apt install autoconf automake -y && npm i -g pnpm

RUN pnpm i && pnpm native:configure && pnpm native:build && pnpm build

FROM nginx:alpine
FROM docker.io/nginx:alpine
WORKDIR /root
RUN apk update --no-cache
RUN apk add bash
COPY ./deploy/nginx/default.conf.template /etc/nginx/templates/default.conf.template
COPY --from=build /code/dist /usr/share/nginx/html
COPY --from=build /code/deploy/nginx/default.conf.template /etc/nginx/templates/default.conf.template
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "supernode-frontend",
"private": true,
"version": "0.0.0",
"version": "1.0.0-alpha.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
1 change: 1 addition & 0 deletions thirdparty/n2n
Submodule n2n added at 76dad4

0 comments on commit 55b1ab6

Please sign in to comment.