David Li commited on
Commit
b5127e7
1 Parent(s): 8d42bc7

fix: try again

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -1,8 +1,7 @@
1
  FROM dart:2.19.1
2
  COPY pubspec.yaml pubspec.lock ./
3
  RUN dart pub get
4
- COPY . ./
5
- RUN dart compile exe bin/cli.dart
6
- RUN mv bin/cli.exe cli.exe
7
- RUN chmod +x cli.exe
8
- ENTRYPOINT [ "dart", "run", "bin/cli.dart" ]
 
1
  FROM dart:2.19.1
2
  COPY pubspec.yaml pubspec.lock ./
3
  RUN dart pub get
4
+ COPY . .
5
+ RUN dart compile exe bin/cli.dart -o server
6
+ RUN chmod 777 server
7
+ ENTRYPOINT [ "./server" ]