Commit 8024a046 authored by Karen Konou's avatar Karen Konou

[build] fix docker build

parent 143e9929
Pipeline #2054 failed with stage
......@@ -10,6 +10,7 @@ RUN apt-get update && apt-get install -y yarn
RUN curl -L | tar zx -C /usr/bin --strip-components=1 zephyr/zephyr
RUN curl -L | tar jx -C /usr/bin --strip-components=2 ./bin/dhall-to-json
RUN yarn global add purescript spago pulp
WORKDIR /opt/app
EXPOSE 5000/tcp
......@@ -144,11 +144,10 @@ the docker container.
### Basic tasks
Now we must install our javascript and purescript dependencies:
*Note: if you're installing manually you might also need to manually install [psc-package](*
darn install -D && darn install-ps # for docker setup
yarn install -D && yarn install-ps # for manual setup
darn install -D # for docker setup
yarn install -D # for manual setup
You will likely want to check your work in a browser. We provide a
......@@ -166,13 +165,6 @@ darn build # for docker setup
yarn build # for manual setup
If you are rapidly iterating and just want to type check your code:
darn compile # for docker setup
yarn compile # for manual setup
You may access a purescript repl if you want to explore:
......@@ -18,6 +18,7 @@
"clean-js": "rm -Rf node_modules",
"clean-ps": "rm -Rf output",
"server": "serve dist",
"build": "spago build && pulp browserify --skip-compile -t dist/bundle.js --src-path output",
"prod": "yarn prod:compile && yarn prod:dce && yarn prod:bundle && yarn prod:pack",
"prod:compile": "pulp build -- -g corefn",
"prod:dce": "zephyr -f Main.main",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment