Skip to content

Commit 2d3fdaf

Browse files
committed
simplify
1 parent 594887b commit 2d3fdaf

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ RUN chown -R appuser:appuser /app
3434
USER appuser
3535

3636
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
37-
CMD ["main"]
37+
CMD ["app.main"]

docker-entrypoint.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ shift
2424
info "Starting application: $APP_NAME"
2525

2626
case "$APP_NAME" in
27-
main)
28-
CMD="python -m app.main $*"
29-
;;
3027
app.*)
3128
CMD="python -m $APP_NAME $*"
3229
;;

0 commit comments

Comments
 (0)