Spaces:
Build error
Build error
David Li commited on
Commit ·
ff285cd
1
Parent(s): ba14da6
fix: docker file
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@ WORKDIR /app
|
|
| 3 |
COPY pubspec.yaml pubspec.lock ./
|
| 4 |
RUN dart pub get
|
| 5 |
COPY . .
|
| 6 |
-
RUN dart compile exe bin/cli.dart
|
| 7 |
RUN chmod 777 server
|
| 8 |
|
| 9 |
# copy server file to basic image to run the app
|
|
|
|
| 3 |
COPY pubspec.yaml pubspec.lock ./
|
| 4 |
RUN dart pub get
|
| 5 |
COPY . .
|
| 6 |
+
RUN dart compile exe bin/cli.dart -o server
|
| 7 |
RUN chmod 777 server
|
| 8 |
|
| 9 |
# copy server file to basic image to run the app
|