Spaces:
Build error
Build error
David Li
commited on
Commit
•
b5127e7
1
Parent(s):
8d42bc7
fix: try again
Browse files- 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
|
7 |
-
|
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" ]
|
|