diff --git a/Dockerfile b/Dockerfile index de62cf0..24d4ad7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/compile_and_run.bat b/compile_and_run.bat index feb5351..985da86 100644 --- a/compile_and_run.bat +++ b/compile_and_run.bat @@ -1,2 +1,2 @@ wasm-pack build --dev --target no-modules frontend-web -serve . \ No newline at end of file +serve -p 5000 .