File tree Expand file tree Collapse file tree 3 files changed +24
-8
lines changed
Expand file tree Collapse file tree 3 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
2- FROM racket/racket:8.1-full
2+ FROM ubuntu:rolling
3+
4+ WORKDIR /root
5+ ENV DEBIAN_FRONTEND=noninteractive
6+ RUN apt update
7+ RUN apt install -y software-properties-common curl build-essential git
8+ RUN add-apt-repository -y ppa:plt/racket
9+ RUN apt update
10+ RUN apt install -y racket
311
4- WORKDIR /app
512RUN curl -O https://nodejs.org/dist/v14.17.1/node-v14.17.1-linux-x64.tar.xz
613RUN tar xvf node-v14.17.1-linux-x64.tar.xz -C .
7- ENV PATH="/app /node-v14.17.1-linux-x64/bin:${PATH}"
14+ ENV PATH="/root /node-v14.17.1-linux-x64/bin:${PATH}"
815RUN npm install -g js-beautify
916
10- COPY . /app/racketscript-playground
11- ENV PATH="/root/.local/share/racket/8.1/bin/:${PATH}"
12- RUN raco pkg install --auto racketscript
17+ RUN raco setup --doc-index --force-user-docs
18+ RUN git clone https://github.com/vishesh/racketscript.git
19+ WORKDIR /root/racketscript
20+ RUN make setup
21+
22+ COPY . /root/racketscript-playground
23+ ENV PATH="/root/racketscript/racketscript-compiler/bin/:${PATH}"
1324
14- WORKDIR /app /racketscript-playground
25+ WORKDIR /root /racketscript-playground
1526RUN make build || true
1627CMD ["make" , "run-forever" ]
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ build/server: app.rkt | node_modules
3838node_modules : package.json package-lock.json
3939 npm install && touch node_modules
4040
41- build/client : client.rkt | build/runtime build/examples
41+ build/client : client.rkt | build/runtime
4242 @echo " Compiling the client..."
4343 racks $(RACKS_FLAGS ) $(RACKS_ARGS ) $(RACKS_APP_FLAGS ) -d build/client --target webpack client.rkt
4444 ./build/client/node_modules/.bin/webpack --config ./build/client/webpack.config.js --entry ./build/client/modules/client.rkt.js --output-path ./build/client/dist
Original file line number Diff line number Diff line change 1+ build :
2+ docker :
3+ web : Dockerfile
4+ run :
5+ web : make run-forever
You can’t perform that action at this time.
0 commit comments