Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM rnsloan/wasm-pack
FROM node:lts

RUN apt update && apt install -y nodejs npm
RUN npm install -g serve
RUN npm install -g serve wasm-pack

EXPOSE 5000/tcp
EXPOSE 5000/udp

RUN git clone https://github.com/bbodi/notecalc3.git .
COPY . .
RUN chmod +x compile_and_run.bat

CMD ./compile_and_run.bat
2 changes: 1 addition & 1 deletion compile_and_run.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
wasm-pack build --dev --target no-modules frontend-web
serve .
serve -p 5000 .