David Li commited on
Commit
9231ca0
·
1 Parent(s): ed37482

fix: try again

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -6,7 +6,9 @@ COPY . .
6
  RUN dart compile exe bin/cli.dart -o dart_off_server
7
 
8
  # copy server file to basic image to run the app
9
- FROM scratch
10
  WORKDIR /app
 
11
  COPY --from=builder /app/dart_off_server .
 
12
  CMD [ "/app/dart_off_server" ]
 
6
  RUN dart compile exe bin/cli.dart -o dart_off_server
7
 
8
  # copy server file to basic image to run the app
9
+ FROM alpine
10
  WORKDIR /app
11
+ RUN apk add --no-cache bash
12
  COPY --from=builder /app/dart_off_server .
13
+ RUN ls
14
  CMD [ "/app/dart_off_server" ]