Skip to content

Commit

Permalink
chore: fix api deploy (#36)
Browse files Browse the repository at this point in the history
* chore: remove serving static files

* chore: organize routes
  • Loading branch information
jsgalarraga authored Mar 6, 2024
1 parent 58a73f4 commit bbe0e11
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN dart compile exe bin/server.dart -o bin/server
FROM scratch
COPY --from=build /runtime/ /
COPY --from=build /app/bin/server /app/bin/
COPY --from=build /app/public /public/
# COPY --from=build /app/public /public/

# Start server.
CMD ["/app/bin/server"]
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:dart_frog/dart_frog.dart';
import 'package:google_cloud/google_cloud.dart';
import 'package:logging/logging.dart';

import '../../main.dart';
import '../main.dart';

Handler middleware(Handler handler) {
return handler
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:dart_frog/dart_frog.dart';
import 'package:mocktail/mocktail.dart';
import 'package:test/test.dart';

import '../../../routes/public/index.dart' as route;
import '../../routes/index.dart' as route;

class _MockRequestContext extends Mock implements RequestContext {}

Expand Down

0 comments on commit bbe0e11

Please sign in to comment.