Skip to content

Commit

Permalink
fix: Include Dockerfile for Serverpod Mini projects. (serverpod#2774)
Browse files Browse the repository at this point in the history
  • Loading branch information
klkucaj authored Sep 27, 2024
1 parent 8aad562 commit a6ec360
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ ENV role=monolith

COPY --from=build /runtime/ /
COPY --from=build /app/bin/server server
COPY --from=build /app/config/ config/
COPY --from=build /app/web/ web/
COPY --from=build /app/confi[g]/ config/
COPY --from=build /app/we[b]/ web/
COPY --from=build /app/migration[s]/ migrations/


EXPOSE 8080
EXPOSE 8081
Expand Down
8 changes: 0 additions & 8 deletions tests/bootstrap_project/test/project_mini_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ void main() async {
reason: 'No web directory should exist but it was found.',
);

var dockerFile =
File(path.join(tempPath, serverDir, 'Dockerfile')).existsSync();
expect(
dockerFile,
isFalse,
reason: 'No Dockerfile should exist but it was found.',
);

var dockerComposeFile =
File(path.join(tempPath, serverDir, 'docker-compose.yaml'))
.existsSync();
Expand Down

0 comments on commit a6ec360

Please sign in to comment.