File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ svelte/.idea/*
5
5
websocketServer /.idea /*
6
6
7
7
target /*
8
+
9
+ * .tar
Original file line number Diff line number Diff line change @@ -5,19 +5,20 @@ COPY . .
5
5
6
6
RUN cargo install --path .
7
7
8
- FROM node:22.2.0-bookworm as run
8
+ FROM node:22.2.0-alpine as run
9
9
10
10
WORKDIR /app
11
11
12
12
COPY . .
13
13
14
- RUN cd svelte && yarn install && yarn run build && cd ..
15
- RUN cd websocketServer && yarn install && cd ..
14
+ RUN cd svelte && yarn install && yarn run build && cd .. \
15
+ && cd websocketServer && yarn install && cd .. \
16
+ && yarn cache clean
16
17
17
18
COPY exec_all.sh exec_all.sh
18
19
RUN chmod +x exec_all.sh
19
20
20
21
# RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
21
22
COPY --from=builder /usr/local/cargo/bin/brain_fuck_interpreter /usr/local/bin/brain_fuck_interpreter
22
23
23
- CMD ["bash " , "exec_all.sh" ]
24
+ CMD ["sh " , "exec_all.sh" ]
You can’t perform that action at this time.
0 commit comments